/* Electrician Pricing storefront — black & yellow brand override on top of the Bookland template */

:root {
    --primary: #FFC107;
    --primary-hover: #e0a800;
    --primary-dark: #b38600;
    --secondary: #1a1a1a;
    --title: #1a1a1a;
    --rgba-primary-1: rgba(255, 193, 7, 0.1);
    --rgba-primary-2: rgba(255, 193, 7, 0.2);
    --rgba-primary-3: rgba(255, 193, 7, 0.3);
    --rgba-primary-4: rgba(255, 193, 7, 0.4);
    --rgba-primary-5: rgba(255, 193, 7, 0.5);
    --rgba-primary-6: rgba(255, 193, 7, 0.6);
    --rgba-primary-7: rgba(255, 193, 7, 0.7);
    --rgba-primary-8: rgba(255, 193, 7, 0.8);
    --rgba-primary-9: rgba(255, 193, 7, 0.9);
    --bs-primary: #FFC107;
    --bs-secondary: #1a1a1a;
    --bs-dark: #1a1a1a;
    --gradient: linear-gradient(to right, #FFC107 0%, #b38600 100%);
    --gradient-sec: linear-gradient(to right, #1a1a1a 0%, #000000 100%);
}

/* Header */
.header-info-bar,
.main-bar-wraper .main-bar,
.sticky-header.main-bar-wraper {
    background-color: #1a1a1a !important;
}

.header-info-bar .navbar-nav .nav-link,
.header-nav .nav > li > a,
.header-nav .nav > li > a > span,
.dz-social-icon ul li a {
    color: #fff !important;
}

.header-nav .nav > li:hover > a,
.header-nav .nav > li:hover > a > span,
.header-nav .nav > li.active > a,
.header-nav .nav > li.active > a > span {
    color: #FFC107 !important;
}

.navicon span {
    background-color: #fff !important;
}

.site-header .btn-primary,
.btn-primary {
    background-color: #FFC107 !important;
    border-color: #FFC107 !important;
    color: #1a1a1a !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #e0a800 !important;
    border-color: #e0a800 !important;
    color: #1a1a1a !important;
}

.btn-outline-primary {
    color: #b38600 !important;
    border-color: #FFC107 !important;
}

.btn-outline-primary:hover {
    background-color: #FFC107 !important;
    color: #1a1a1a !important;
}

/* Footer */
footer.site-footer,
.footer-top,
.footer-bottom {
    background-color: #1a1a1a !important;
}

/* Preloader */
#loading-area {
    background-color: #1a1a1a;
}

.preloader-shade { background-color: #1a1a1a !important; }

/* Books/CSVs price + accent text */
.books-card .price,
.dz-shop-card .price .price-num,
.book-footer .price .price-num {
    color: #b38600 !important;
}

/* ============================================================
   V2 — minimal dark header / footer / homepage hero + cards
   ============================================================ */

.site-header-v2 {
    background: #0d0d0f;
    border-bottom: 1px solid #232326;
    position: relative;
    z-index: 999;
}

.v2-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.v2-logo-badge {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: #18181b;
    border: 1.5px solid #FFC107;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFC107;
    font-size: 18px;
}

.v2-logo-title {
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: .5px;
}

.v2-logo-subtitle {
    color: #9a9aa3;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.v2-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.v2-nav a {
    color: #e4e4e7;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.v2-nav a:hover,
.v2-nav a.active {
    color: #FFC107;
}

.v2-nav-toggle {
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    border-radius: 6px;
    padding: 6px 10px;
}

.btn-pill-yellow {
    background: #FFC107;
    color: #111 !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: background .2s ease;
}

.btn-pill-yellow:hover {
    background: #e0a800;
    color: #111 !important;
}

.hero-v2 {
    background: #0d0d0f;
    padding: 90px 0 70px;
    text-align: center;
}

.hero-v2 h1 {
    color: #fff;
    font-weight: 800;
    font-size: 44px;
    line-height: 1.25;
    max-width: 780px;
    margin: 0 auto;
}

.hero-v2 h1 .text-accent {
    color: #FFC107;
}

.hero-v2 p {
    color: #a5a5ab;
    font-size: 17px;
    max-width: 620px;
    margin: 22px auto 0;
}

.features-v2 {
    background: #0d0d0f;
    padding-bottom: 100px;
}

.feature-card-v2 {
    background: #18181b;
    border: 1px solid #29292d;
    border-radius: 14px;
    padding: 44px 30px;
    text-align: center;
    height: 100%;
    transition: transform .2s ease, border-color .2s ease;
}

.feature-card-v2:hover {
    transform: translateY(-4px);
    border-color: #FFC107;
}

.feature-card-v2 .feature-icon {
    color: #FFC107;
    font-size: 46px;
    margin-bottom: 24px;
    display: inline-block;
}

.feature-card-v2 h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
}

.feature-card-v2 p {
    color: #9a9aa3;
    font-size: 15px;
    margin-bottom: 28px;
    min-height: 72px;
}

.site-footer-v2 {
    background: #0d0d0f;
    border-top: 1px solid #232326;
}

.v2-footer-nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.v2-footer-nav a {
    color: #c9c9ce;
    text-decoration: none;
    font-size: 14px;
}

.v2-footer-nav a:hover {
    color: #FFC107;
}

.v2-copyright {
    color: #7a7a80;
    font-size: 13px;
}

@media (max-width: 991px) {
    .v2-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        background: #0d0d0f;
        width: 100%;
        padding: 16px 0;
    }
    .hero-v2 h1 { font-size: 32px; }
}

/* ============================================================
   V2 — list pages (Books / Spreadsheet Downloads)
   ============================================================ */

.page-header-v2 {
    background: #0d0d0f;
    padding: 70px 0 50px;
}

.page-header-v2 h1 {
    color: #fff;
    font-weight: 800;
    font-size: 40px;
}

.page-header-v2 p {
    color: #a5a5ab;
    font-size: 16px;
    max-width: 560px;
    margin: 14px auto 0;
}

.v2-muted {
    color: #9a9aa3;
}

.books-list-v2 {
    background: #0d0d0f;
    padding-bottom: 90px;
}

.book-row-v2 {
    background: #18181b;
    border: 1px solid #29292d;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 28px;
}

.book-row-cover {
    flex: 0 0 220px;
    max-width: 220px;
}

.book-row-cover img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

.book-cover-dummy {
    width: 100%;
    height: 260px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f06548, #b93419);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

.book-cover-dummy i {
    color: #fff;
    font-size: 48px;
}

.book-row-info {
    flex: 1 1 auto;
}

.book-row-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.book-row-info h2 a {
    color: #fff;
    text-decoration: none;
}

.book-row-info h2 a:hover {
    color: #FFC107;
}

.book-row-info p {
    color: #9a9aa3;
    font-size: 15px;
    margin-bottom: 18px;
}

.book-row-price {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 18px;
}

@media (max-width: 767px) {
    .book-row-v2 {
        flex-direction: column;
        text-align: center;
    }
    .book-row-cover {
        max-width: 200px;
    }
}

.csv-list-v2 {
    background: #0d0d0f;
    padding-bottom: 90px;
}

.csv-card-v2 {
    background: #18181b;
    border: 1px solid #29292d;
    border-radius: 14px;
    padding: 28px;
    height: 100%;
    transition: border-color .2s ease, transform .2s ease;
}

.csv-card-v2:hover {
    border-color: #FFC107;
    transform: translateY(-3px);
}

.csv-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.csv-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(15, 157, 88, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.csv-card-icon i {
    color: #0F9D58;
    font-size: 22px;
}

.csv-card-v2 h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
}

.csv-card-v2 h4 a {
    color: #fff;
    text-decoration: none;
}

.csv-card-v2 h4 a:hover {
    color: #FFC107;
}

.csv-card-v2 p {
    color: #9a9aa3;
    font-size: 14px;
    margin-bottom: 20px;
    min-height: 58px;
}

.csv-card-price {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
}

/* Generic accent text (used outside .hero-v2 too, e.g. course pages) */
.text-accent {
    color: #FFC107;
}

.v2-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFC107;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin: 24px 0 0 24px;
}

.v2-back-link:hover {
    color: #fff;
}

.csv-card-v2 .course-meta {
    color: #fff;
    font-size: 14px;
}

.course-meta i {
    color: #FFC107;
}

.csv-card-v2 .course-description {
    color: #fff;
}

.course-meta-label {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.course-meta-value {
    font-size: 16px;
    font-weight: 700;
}

.course-card-title {
    color: #fff;
}

.course-seats-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #29292d;
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
}

.course-seats-box i {
    color: #FFC107;
}

.course-sold-out-text {
    width: 100%;
    text-align: center;
    color: #ff6b6b;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 0;
    border: 1px solid #3a2323;
    border-radius: 8px;
    background: rgba(255, 107, 107, .08);
}

.video-thumb-link {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, .12);
}

.video-thumb-fallback i {
    color: #ff0000;
    font-size: 46px;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 0, 0, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: transform .2s ease, background .2s ease;
}

.video-thumb-link:hover .video-play-overlay {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Dark-theme pagination */
.pagination-v2 .page-link {
    background: #18181b;
    border-color: #29292d;
    color: #d0d0d5;
}

.pagination-v2 .page-item.active .page-link {
    background: #FFC107;
    border-color: #FFC107;
    color: #111;
}

.pagination-v2 .page-link:hover {
    background: #232326;
    color: #FFC107;
}

/* ============================================================
   V2 — shared components for remaining pages
   (detail pages, checkout, login, account dashboard)
   ============================================================ */

body {
    background: #0d0d0f;
}

.page-content {
    background: #0d0d0f !important;
}

.btn-pill-outline {
    background: transparent;
    border: 1.5px solid #FFC107;
    color: #FFC107 !important;
    font-weight: 700;
    font-size: 14px;
    padding: 9px 22px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .2s ease, color .2s ease;
}

.btn-pill-outline:hover {
    background: #FFC107;
    color: #111 !important;
}

.btn-pill-yellow:disabled,
.btn-pill-yellow[disabled] {
    opacity: .65;
    cursor: not-allowed;
}

.v2-section {
    background: #0d0d0f;
    padding: 60px 0 90px;
}

.v2-card {
    background: #18181b;
    border: 1px solid #29292d;
    border-radius: 16px;
    padding: 36px;
}

.v2-card-title {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 22px;
}

/* Form controls (login, checkout) */
.v2-section .form-control,
.v2-section .form-select,
.v2-section select.default-select {
    background: #0d0d0f !important;
    border: 1px solid #2e2e33 !important;
    color: #fff !important;
    border-radius: 8px !important;
}

.v2-section .form-control::placeholder {
    color: #6f6f76;
}

.v2-section .form-control:focus,
.v2-section .form-select:focus {
    background: #0d0d0f !important;
    border-color: #FFC107 !important;
    color: #fff !important;
    box-shadow: 0 0 0 .2rem rgba(255, 193, 7, .15) !important;
}

.v2-section label,
.v2-section .form-label,
.v2-section .label-title {
    color: #c9c9ce !important;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .3px;
}

.v2-card-element {
    background: #0d0d0f;
    border: 1px solid #2e2e33;
    border-radius: 8px;
    padding: 12px 14px;
}

/* Dark table (account dashboard orders) */
.v2-table-wrap {
    background: #18181b;
    border: 1px solid #29292d;
    border-radius: 16px;
    overflow: hidden;
}

.v2-table {
    width: 100%;
    margin: 0;
    color: #e4e4e7;
    border-collapse: collapse;
}

.v2-table thead th {
    background: #131315;
    color: #9a9aa3;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .5px;
    font-weight: 700;
    padding: 16px;
    border-bottom: 1px solid #29292d;
    text-align: left;
}

.v2-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #232326;
    vertical-align: middle;
}

.v2-table tbody tr:last-child td {
    border-bottom: none;
}

/* Account sidebar */
.v2-account-sidebar {
    background: #18181b;
    border: 1px solid #29292d;
    border-radius: 16px;
    padding: 26px;
}

.v2-account-sidebar h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 2px;
}

.v2-account-sidebar .v2-email {
    color: #9a9aa3;
    font-size: 13px;
}

.v2-account-nav {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.v2-account-nav li + li {
    margin-top: 6px;
}

.v2-account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d0d0d5;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.v2-account-nav a:hover,
.v2-account-nav a.active {
    background: rgba(255, 193, 7, .12);
    color: #FFC107;
}

.v2-alert {
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 20px;
}

.v2-alert-info {
    background: rgba(255, 193, 7, .1);
    border: 1px solid rgba(255, 193, 7, .35);
    color: #FFC107;
}

.v2-alert-danger {
    background: rgba(240, 101, 72, .12);
    border: 1px solid rgba(240, 101, 72, .4);
    color: #ff8a75;
}

.v2-success-icon {
    color: #22c55e;
    font-size: 60px;
}
