:root{--navy:#13233a;--blue:#2563eb;--bg:#f4f7fb;--text:#1e293b;--muted:#64748b;--line:#dbe3ef;--white:#fff;--danger:#c62828}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--text);background:#f8f7f4}
a{color:inherit;text-decoration:none}
.container{width:min(1160px,calc(100% - 32px));margin:auto}
.site-header{background:var(--navy);color:#fff;position:sticky;top:0;z-index:20;box-shadow:0 8px 30px rgba(19,35,58,.18)}
.nav{min-height:72px;display:flex;align-items:center;gap:28px}
.brand{font-size:24px;font-weight:900;white-space:nowrap}.brand span{color:#8fb7ff}
.search{display:flex;flex:1;max-width:520px}.search input{width:100%;border:0;border-radius:8px 0 0 8px;padding:12px}.search button{border:0;background:var(--blue);color:white;padding:0 18px;border-radius:0 8px 8px 0;cursor:pointer}
.nav nav{display:flex;align-items:center;gap:18px}.cart-link{background:#fff;color:var(--navy);padding:9px 12px;border-radius:8px}.cart-link span{background:var(--blue);color:#fff;border-radius:99px;padding:2px 7px}
.section{padding:42px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.section-head h1,.section-head h2{margin:0}
.book-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.book-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 8px 25px rgba(30,41,59,.06)}
.book-body{padding:18px}.book-body h3{margin:7px 0;min-height:48px}.book-body small,.stock{color:var(--muted)}
.price-row{display:flex;justify-content:space-between;align-items:center;margin-top:16px}.price-row strong,.detail-price{font-size:23px}
.btn{border:0;background:var(--blue);color:#fff;padding:11px 16px;border-radius:8px;font-weight:700;cursor:pointer;display:inline-block;transition:.2s ease}.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.5;cursor:not-allowed}
.panel,.summary{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;box-shadow:0 8px 25px rgba(30,41,59,.05)}
.detail-grid{display:grid;grid-template-columns:360px 1fr;gap:56px;align-items:start}.detail-cover{width:100%;border-radius:14px}.detail-grid h1{font-size:48px;margin:10px 0}
.description{font-size:18px;line-height:1.7;color:var(--muted)}.detail-price{margin:20px 0;font-weight:900}.back{display:inline-block;margin-bottom:20px;color:var(--blue)}
.cart-layout,.checkout-layout{display:grid;grid-template-columns:1fr 350px;gap:24px;align-items:start}
.cart-item{display:flex;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}.cart-item:last-child{border-bottom:0}.cart-item img{width:82px;height:110px;object-fit:cover;border-radius:7px}
.grow{flex:1}.item-end{text-align:right;display:flex;flex-direction:column;justify-content:space-between}.qty-form{display:flex;align-items:center;gap:8px}.qty-form input{width:60px;padding:7px}
.qty-form button,.link-danger{border:0;background:none;color:var(--blue);cursor:pointer}.link-danger{color:var(--danger);padding:0}
.summary{position:sticky;top:94px}.summary>div{display:flex;justify-content:space-between;margin:15px 0}.grand{font-size:20px}
.form label{display:block;font-weight:700;margin:16px 0}.form input,.form textarea{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px;margin-top:7px;font:inherit}.form small{color:var(--danger);display:block;margin-top:4px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:15px}.table-wrap{overflow:auto;margin-bottom:24px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px;border-bottom:1px solid var(--line)}th{background:#f8fafc}
.narrow{max-width:760px}.empty{text-align:center;padding:70px}
.flash{margin-top:16px;padding:12px 16px;border-radius:8px}.success-flash{background:#dcfce7;color:#166534}.error-flash{background:#fee2e2;color:#991b1b}

/* Home page */
.mokaa-hero{position:relative;overflow:hidden;padding:85px 0;background:radial-gradient(circle at 80% 20%,rgba(255,184,107,.24),transparent 30%),linear-gradient(135deg,#291c3a 0%,#54365f 55%,#8b526b 100%);color:#fff}
.mokaa-hero::before{content:"";position:absolute;width:330px;height:330px;top:-160px;left:-100px;border-radius:50%;border:55px solid rgba(255,255,255,.04)}
.mokaa-hero::after{content:"";position:absolute;width:190px;height:190px;right:8%;bottom:-110px;border-radius:50%;background:rgba(255,255,255,.05)}
.hero-layout{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:center;gap:70px}
.hero-content{max-width:690px}.hero-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 15px;margin-bottom:22px;border:1px solid rgba(255,255,255,.2);border-radius:30px;background:rgba(255,255,255,.1);font-size:13px;font-weight:600;backdrop-filter:blur(10px)}
.mokaa-hero .eyebrow{margin:0 0 12px;color:#ffd3a5;font-size:13px;font-weight:800;letter-spacing:2.8px}
.mokaa-hero h1{max-width:680px;margin:0;color:#fff;font-size:clamp(42px,5vw,69px);line-height:1.07;letter-spacing:-2px}.hero-highlight{display:block;color:#ffd3a5}
.hero-description{max-width:620px;margin:24px 0 0;color:rgba(255,255,255,.79);font-size:18px;line-height:1.75}.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.hero-actions .btn{padding:14px 25px;border-radius:10px}.hero-primary-btn{border:1px solid #f6a65c;background:#f6a65c;color:#2f203c;box-shadow:0 10px 25px rgba(20,10,30,.2)}
.hero-secondary-btn{border:1px solid rgba(255,255,255,.36);background:rgba(255,255,255,.08);color:#fff}
.hero-benefits{display:flex;flex-wrap:wrap;gap:22px;margin-top:33px;color:rgba(255,255,255,.83);font-size:13px}.hero-benefit{display:flex;align-items:center;gap:7px}.benefit-icon{display:grid;width:20px;height:20px;place-items:center;border-radius:50%;background:#f6a65c;color:#2f203c;font-size:11px;font-weight:900}
.hero-visual{position:relative;min-height:430px}.hero-circle{position:absolute;top:50%;left:50%;display:flex;width:265px;height:265px;align-items:center;justify-content:center;flex-direction:column;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.22);border-radius:50%;background:linear-gradient(145deg,rgba(255,255,255,.19),rgba(255,255,255,.07));box-shadow:0 30px 65px rgba(22,9,32,.35);backdrop-filter:blur(18px);text-align:center}
.hero-circle::before{content:"";position:absolute;width:310px;height:310px;border:1px dashed rgba(255,255,255,.18);border-radius:50%}.hero-circle-icon{margin-bottom:11px;font-size:57px}.hero-circle strong{font-size:26px}.hero-circle small{margin-top:8px;color:rgba(255,255,255,.68)}
.hero-book-card{position:absolute;z-index:3;display:flex;min-width:170px;padding:17px;flex-direction:column;border:1px solid rgba(255,255,255,.25);border-radius:15px;background:rgba(255,255,255,.93);box-shadow:0 18px 40px rgba(20,9,29,.27)}
.hero-book-card small{margin-top:7px;color:#8b526b;font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase}.hero-book-card strong{margin-top:3px;color:#291c3a;font-size:14px}.book-card-icon{font-size:27px}
.hero-book-card-one{top:18px;left:5px;transform:rotate(-4deg)}.hero-book-card-two{top:100px;right:-15px;transform:rotate(4deg)}.hero-book-card-three{bottom:15px;left:25px;transform:rotate(3deg)}
.store-highlights{position:relative;z-index:5;margin-top:-28px}.highlights-grid{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;border:1px solid #ece7e3;border-radius:16px;background:#fff;box-shadow:0 16px 45px rgba(46,30,58,.1)}
.highlight-item{display:flex;min-height:110px;align-items:center;gap:14px;padding:23px;border-right:1px solid #eee8e3}.highlight-item:last-child{border-right:0}.highlight-icon{display:grid;width:46px;height:46px;flex-shrink:0;place-items:center;border-radius:12px;background:#fff3e7;font-size:23px}.highlight-item strong{color:#291c3a;font-size:14px}.highlight-item p{margin:5px 0 0;color:#7b7280;font-size:12px;line-height:1.5}
.books-section{padding-top:85px;padding-bottom:85px}.section-label{margin:0 0 8px;color:#a05c73;font-size:12px;font-weight:800;letter-spacing:2px}.section-head h2{color:#291c3a;font-size:34px;letter-spacing:-.7px}.section-description,.search-result-text{margin:8px 0 0;color:#776f7a}.book-count{padding:8px 13px;border:1px solid #e6dfe3;border-radius:25px;background:#fff;color:#705067;font-size:12px;font-weight:700}
.premium-book-card{overflow:hidden;border:1px solid #ebe5e8;border-radius:17px;background:#fff;box-shadow:0 9px 27px rgba(57,39,67,.07);transition:.25s ease}.premium-book-card:hover{transform:translateY(-8px);border-color:#dbc5d0;box-shadow:0 20px 43px rgba(57,39,67,.14)}
.book-image-wrapper{position:relative;display:flex;min-height:290px;align-items:center;justify-content:center;overflow:hidden;padding:24px;background:radial-gradient(circle,#fff 0%,#f6f1f3 100%)}.book-image-wrapper img{width:auto;max-width:100%;height:235px;object-fit:contain;transition:transform .3s ease}.premium-book-card:hover .book-image-wrapper img{transform:scale(1.04)}
.availability-badge{position:absolute;z-index:3;top:14px;left:14px;padding:6px 10px;border-radius:20px;font-size:10px;font-weight:800;text-transform:uppercase}.in-stock-badge{background:#e5f7ed;color:#24784c}.out-stock-badge{background:#ffe9e7;color:#bd443a}
.quick-view{position:absolute;right:17px;bottom:15px;left:17px;padding:10px;transform:translateY(70px);border-radius:9px;background:rgba(41,28,58,.92);color:#fff;font-size:12px;font-weight:700;text-align:center;opacity:0;transition:.25s ease}.premium-book-card:hover .quick-view{transform:translateY(0);opacity:1}
.premium-book-card .book-body{padding:21px}.book-author{display:block;margin-bottom:7px;color:#a05c73;font-size:11px;font-weight:800;letter-spacing:.6px;text-transform:uppercase}.premium-book-card h3{min-height:50px;margin:0;line-height:1.45}.premium-book-card h3 a{color:#291c3a;font-size:17px}.book-rating{display:flex;align-items:center;gap:7px;margin-top:9px}.book-rating span{color:#f4a340;font-size:12px;letter-spacing:1px}.book-rating small{color:#8a828d;font-size:10px}.stock{margin:13px 0 17px;font-size:12px;font-weight:650}.stock-available{color:#287851}.stock-unavailable{color:#b83f38}
.price-row{padding-top:16px;border-top:1px solid #eee9eb}.book-price{display:flex;flex-direction:column}.book-price small{margin-bottom:2px;color:#8a828d;font-size:10px}.book-price strong{color:#291c3a;font-size:20px}.add-cart-btn{display:inline-flex;align-items:center;gap:7px;padding:11px 14px;border-radius:9px;background:#8b526b;color:#fff;font-size:12px}.add-cart-btn:hover{background:#63374e}
.empty-books{padding:70px 25px;border:1px dashed #d8cbd1;border-radius:18px;background:#fff}.empty-icon{margin-bottom:13px;font-size:52px}.empty-books h3{margin:0;color:#291c3a;font-size:25px}.empty-books p{max-width:480px;margin:12px auto 22px;color:#7b7280;line-height:1.7}
.newsletter-section{padding:65px 0;background:#f1e6e9}.newsletter-content{display:flex;align-items:center;justify-content:space-between;gap:35px}.newsletter-content h2{margin:0;color:#291c3a;font-size:34px}.newsletter-content p:not(.section-label){max-width:690px;margin:10px 0 0;color:#756b74;line-height:1.7}.newsletter-btn{flex-shrink:0;padding:14px 23px;border-radius:10px;background:#291c3a;color:#fff}
.mokaa-footer{padding:48px 0 20px;background:#21162d;color:#fff}.footer-content{display:flex;align-items:flex-start;justify-content:space-between;gap:35px}.footer-brand strong{color:#ffd3a5;font-size:25px}.footer-brand p{max-width:430px;margin:9px 0 0;color:rgba(255,255,255,.63);line-height:1.6}.footer-meta{display:flex;gap:10px;color:rgba(255,255,255,.65);font-size:13px}.footer-bottom{margin-top:35px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.5);font-size:12px}

/* Admin upload */
.upload-box{padding:16px;border:1px dashed #cdbdc5;border-radius:12px;background:#fcfafb}.upload-title{display:block;margin-bottom:6px}.image-preview{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border:1px solid #e5e1e6;border-radius:12px;background:#faf8fb}.image-preview img{width:110px;height:150px;object-fit:cover;border-radius:8px;border:1px solid #ddd}.preview-note{margin:6px 0 0;color:#756b74;font-size:13px;line-height:1.5}.save-book-btn{margin-top:8px;background:#8b526b}

@media(max-width:1050px){
    .hero-layout{grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:38px}
    .hero-visual{display:block;min-height:390px}
    .hero-circle{width:235px;height:235px}
    .hero-circle::before{width:275px;height:275px}
    .hero-book-card{min-width:150px;padding:14px}
    .highlights-grid{grid-template-columns:repeat(2,1fr)}
    .highlight-item:nth-child(2){border-right:0}
    .highlight-item:nth-child(-n+2){border-bottom:1px solid #eee8e3}
}

@media(max-width:900px){
    .book-grid{grid-template-columns:repeat(2,1fr)}
    .cart-layout,.checkout-layout,.detail-grid{grid-template-columns:1fr}
    .summary{position:static}

    .nav{display:grid;grid-template-columns:1fr auto;gap:14px 18px;padding:14px 0}
    .brand{grid-column:1;grid-row:1}
    .nav nav{grid-column:2;grid-row:1;justify-self:end}
    .search{grid-column:1/-1;grid-row:2;width:100%;max-width:none;min-width:0}

    .hero-layout{grid-template-columns:1fr;gap:26px}
    .hero-content{max-width:none}
    .hero-visual{display:block;width:min(560px,100%);min-height:360px;margin:0 auto}
    .hero-circle{width:220px;height:220px}
    .hero-circle::before{width:260px;height:260px}
    .hero-book-card-one{top:18px;left:7%}
    .hero-book-card-two{top:82px;right:3%}
    .hero-book-card-three{bottom:12px;left:12%}
}

@media(max-width:700px){
    .container{width:min(100% - 24px,1160px)}
    .site-header{position:sticky}
    .nav{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px 0}
    .brand-with-logo{gap:9px;min-width:0}
    .brand-wordmark{font-size:20px}
    .brand-logo-shell{width:40px;height:40px}
    .nav nav{gap:10px}
    .nav nav a{font-size:13px}
    .cart-link{padding:8px 10px}
    .search input{font-size:14px;padding:12px}
    .search button{padding:0 16px}

    .mokaa-hero{padding:54px 0 62px}
    .hero-layout{gap:24px}
    .hero-badge{margin-bottom:18px}
    .mokaa-hero h1{font-size:clamp(38px,10vw,52px);line-height:1.08;letter-spacing:-1.2px}
    .hero-description{font-size:16px;line-height:1.7}
    .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:26px}
    .hero-actions .btn{width:100%;padding:13px 16px;text-align:center}
    .hero-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px;font-size:12px}
    .hero-benefit{align-items:flex-start}

    .hero-visual{min-height:330px}
    .hero-circle{width:195px;height:195px}
    .hero-circle::before{width:230px;height:230px}
    .hero-circle-icon{font-size:44px}
    .hero-circle strong{font-size:21px}
    .hero-book-card{min-width:138px;padding:12px;border-radius:13px}
    .hero-book-card strong{font-size:12px}
    .hero-book-card small{font-size:9px}
    .book-card-icon{font-size:23px}
    .hero-book-card-one{top:8px;left:1%}
    .hero-book-card-two{top:78px;right:0}
    .hero-book-card-three{bottom:4px;left:6%}

    .store-highlights{margin-top:-18px}
    .highlights-grid{grid-template-columns:1fr 1fr;border-radius:14px}
    .highlight-item{min-height:92px;padding:18px;border-bottom:1px solid #eee8e3}
    .highlight-item:nth-child(2n){border-right:0}
    .highlight-item:nth-last-child(-n+2){border-bottom:0}
    .highlight-icon{width:40px;height:40px;font-size:20px}

    .books-section{padding-top:66px;padding-bottom:66px}
    .section-head{align-items:flex-start;flex-direction:column;gap:15px}
    .section-head h2{font-size:31px}
    .newsletter-content,.footer-content{align-items:flex-start;flex-direction:column}
    .newsletter-btn{width:100%;text-align:center}
    .footer-meta{flex-wrap:wrap}
    .image-preview{align-items:flex-start;flex-direction:column}
}

@media(max-width:520px){
    .nav{grid-template-columns:minmax(0,1fr) auto}
    .brand-wordmark{font-size:18px}
    .brand-logo-shell{width:38px;height:38px}
    .nav nav{gap:7px}
    .nav nav a{display:inline-flex;font-size:12px}
    .nav nav a:not(.cart-link){padding:7px 3px}
    .cart-link{padding:7px 9px}
    .cart-link span{padding:2px 6px}

    .mokaa-hero{padding:46px 0 56px}
    .hero-badge{font-size:12px;padding:7px 12px}
    .mokaa-hero .eyebrow{font-size:11px;letter-spacing:2px}
    .mokaa-hero h1{font-size:39px}
    .hero-description{margin-top:18px;font-size:15px}
    .hero-actions{grid-template-columns:1fr 1fr}
    .hero-actions .btn{padding:12px 10px;font-size:13px}
    .hero-benefits{grid-template-columns:1fr;gap:9px}

    .hero-visual{min-height:300px}
    .hero-circle{width:170px;height:170px}
    .hero-circle::before{width:202px;height:202px}
    .hero-circle-icon{font-size:38px}
    .hero-circle strong{font-size:18px}
    .hero-circle small{font-size:10px}
    .hero-book-card{min-width:120px;padding:10px}
    .hero-book-card-one{top:10px;left:0}
    .hero-book-card-two{top:78px;right:0}
    .hero-book-card-three{bottom:5px;left:3%}

    .highlights-grid{grid-template-columns:1fr}
    .highlight-item{border-right:0;border-bottom:1px solid #eee8e3}
    .highlight-item:last-child{border-bottom:0}

    .book-grid{grid-template-columns:1fr}
    .two-col{grid-template-columns:1fr}
    .detail-grid h1{font-size:36px}
}
/* ==================================================
   MokaaVibes Admin Login
================================================== */

.login-page {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(
            circle at 18% 18%,
            rgba(246, 166, 92, 0.18),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #21162d 0%,
            #42264f 48%,
            #865067 100%
        );
}

.login-shell {
    display: grid;
    width: min(1080px, calc(100% - 40px));
    min-height: 650px;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    margin: 45px auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;
    background: #fff;
    box-shadow:
        0 40px 100px rgba(18, 7, 25, 0.42);
}


/* Left visual section */

.login-side-panel {
    position: relative;
    display: flex;
    min-height: 650px;
    padding: 42px;
    flex-direction: column;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(255, 211, 165, 0.23),
            transparent 25%
        ),
        linear-gradient(
            145deg,
            #291c3a,
            #64405c
        );
    color: #fff;
}

.login-side-panel::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -150px;
    bottom: -110px;
    border: 45px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.login-side-panel::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: 130px;
    left: -120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.login-side-brand {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.login-side-brand span,
.login-mobile-brand span {
    color: #ffd3a5;
}

.login-side-content {
    position: relative;
    z-index: 2;
    margin: auto 0;
}

.login-side-icon {
    display: grid;
    width: 74px;
    height: 74px;
    margin-bottom: 28px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 38px;
    backdrop-filter: blur(10px);
}

.login-side-label {
    margin: 0 0 12px;
    color: #ffd3a5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.login-side-content h2 {
    max-width: 460px;
    margin: 0;
    color: #fff;
    font-size: 43px;
    line-height: 1.12;
    letter-spacing: -1px;
}

.login-side-content > p:not(.login-side-label) {
    max-width: 480px;
    margin: 23px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.75;
}

.login-features {
    display: grid;
    gap: 13px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}


/* Login form side */

.login-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fcf9fb
        );
}

.login-card {
    width: 100%;
    max-width: 400px;
}

.login-mobile-brand {
    display: none;
    margin-bottom: 30px;
    color: #291c3a;
    font-size: 25px;
    font-weight: 900;
}

.login-lock-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 15px;
    background: #f4e9ed;
    font-size: 25px;
}

.login-eyebrow {
    margin: 0 0 8px;
    color: #9e5b72;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.login-card h1 {
    margin: 0;
    color: #291c3a;
    font-size: 38px;
    letter-spacing: -0.8px;
}

.login-description {
    margin: 12px 0 30px;
    color: #756e78;
    font-size: 15px;
    line-height: 1.6;
}

.login-field {
    margin-bottom: 20px;
}

.login-field label {
    display: block;
    margin-bottom: 8px;
    color: #372b3e;
    font-size: 13px;
    font-weight: 750;
}

.login-input-wrap {
    display: flex;
    min-height: 50px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #ded5dc;
    border-radius: 11px;
    background: #fff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.login-input-wrap:focus-within {
    border-color: #9e5b72;
    box-shadow:
        0 0 0 4px rgba(158, 91, 114, 0.11);
}

.login-input-wrap > span {
    display: grid;
    width: 48px;
    flex-shrink: 0;
    place-items: center;
    color: #8e7c88;
    font-size: 15px;
}

.login-input-wrap input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 14px 8px 14px 0;
    background: transparent;
    color: #291c3a;
    font: inherit;
}

.login-input-wrap input::placeholder {
    color: #aaa0a7;
}

.password-toggle {
    align-self: stretch;
    border: 0;
    padding: 0 15px;
    background: transparent;
    color: #8b526b;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.login-field small {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 5px 0 23px;
    color: #655b64;
    font-size: 13px;
    cursor: pointer;
}

.remember input {
    width: 16px;
    height: 16px;
    accent-color: #8b526b;
}

.login-submit-btn {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 0;
    border-radius: 11px;
    background:
        linear-gradient(
            135deg,
            #8b526b,
            #5b354c
        );
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
        0 13px 25px rgba(91, 53, 76, 0.23);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 17px 30px rgba(91, 53, 76, 0.3);
}

.login-submit-btn span {
    font-size: 18px;
}

.back-home {
    display: block;
    margin-top: 20px;
    color: #79536a;
    font-size: 13px;
    font-weight: 650;
    text-align: center;
}

.back-home:hover {
    color: #4e3043;
}

.login-security-note {
    margin: 28px 0 0;
    padding-top: 19px;
    border-top: 1px solid #eee8ec;
    color: #999098;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}


/* Login error */

.login-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid #f2c8c3;
    border-radius: 10px;
    background: #fff1ef;
    color: #a43831;
}

.login-alert > span {
    display: grid;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: #ce5147;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.login-alert p {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.45;
}


/* Login responsive */

@media (max-width: 900px) {

    .login-shell {
        width: min(620px, calc(100% - 30px));
        grid-template-columns: 1fr;
        margin: 25px auto;
    }

    .login-side-panel {
        display: none;
    }

    .login-form-section {
        min-height: 650px;
        padding: 45px;
    }

    .login-mobile-brand {
        display: block;
    }
}

@media (max-width: 520px) {

    .login-shell {
        width: calc(100% - 20px);
        min-height: auto;
        margin: 10px auto;
        border-radius: 18px;
    }

    .login-form-section {
        min-height: calc(100vh - 20px);
        padding: 30px 22px;
    }

    .login-card h1 {
        font-size: 32px;
    }
}
/* ==================================================
   MokaaVibes Admin Dashboard
================================================== */

.admin-dashboard {
    padding-top: 48px;
    padding-bottom: 80px;
}

.admin-dashboard-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.admin-eyebrow {
    margin: 0 0 8px;
    color: #9d5b72;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.admin-dashboard-head h1 {
    margin: 0;
    color: #291c3a;
    font-size: 38px;
    letter-spacing: -0.8px;
}

.admin-dashboard-description {
    margin: 9px 0 0;
    color: #756d76;
    line-height: 1.6;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-actions form {
    margin: 0;
}

.admin-add-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #8b526b;
}

.btn-secondary {
    background: #514858;
}


/* Summary cards */

.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    margin-bottom: 24px;
}

.admin-summary-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 105px;
    padding: 20px;
    border: 1px solid #e9e2e6;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(52, 34, 62, 0.06);
}

.admin-summary-icon {
    display: grid;
    width: 47px;
    height: 47px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 12px;
    background: #f5e9ed;
    font-size: 23px;
}

.admin-summary-card small {
    display: block;
    color: #827982;
    font-size: 12px;
}

.admin-summary-card strong {
    display: block;
    margin-top: 5px;
    color: #291c3a;
    font-size: 22px;
}


/* Main admin panels */

.admin-panel {
    margin-bottom: 25px;
    padding: 0;
    overflow: hidden;
}

.admin-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 25px;
    border-bottom: 1px solid #ebe5e8;
}

.admin-panel-label {
    margin: 0 0 5px;
    color: #9e5b72;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.admin-panel-head h2 {
    margin: 0;
    color: #291c3a;
    font-size: 24px;
}

.admin-count-badge {
    padding: 7px 11px;
    border: 1px solid #e2d8de;
    border-radius: 25px;
    background: #faf7f9;
    color: #765367;
    font-size: 11px;
    font-weight: 750;
}


/* Admin table */

.admin-table-wrap {
    margin: 0;
    overflow-x: auto;
}

.admin-table {
    min-width: 880px;
    table-layout: auto;
}

.admin-table th {
    padding: 14px 16px;
    background: #faf8fa;
    color: #5d5360;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.admin-table td {
    padding: 13px 16px;
    vertical-align: middle;
}

.admin-table tbody tr {
    transition: background 0.18s ease;
}

.admin-table tbody tr:hover {
    background: #fdfafb;
}


/* Critical image-size fix */

.admin-table .cover-column {
    width: 88px;
    min-width: 88px;
    max-width: 88px;
}

.admin-cover-box {
    display: flex;
    width: 58px;
    height: 76px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2dbe0;
    border-radius: 8px;
    background: #f6f2f4;
}

.admin-cover-box .admin-book-thumb,
.admin-table img.admin-book-thumb {
    display: block !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
    object-fit: cover !important;
    border-radius: 7px;
}


/* Book information */

.admin-book-info {
    display: flex;
    min-width: 190px;
    flex-direction: column;
    gap: 5px;
}

.admin-book-info strong {
    color: #2d2134;
    font-size: 14px;
}

.admin-book-info small {
    color: #817783;
    font-size: 12px;
}

.admin-book-id {
    color: #796e79;
    font-size: 12px;
}

.admin-price {
    white-space: nowrap;
    color: #302237;
}

.stock-pill {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 20px;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 750;
}

.stock-pill-active {
    background: #e7f7ed;
    color: #26744d;
}

.stock-pill-empty {
    background: #ffe9e7;
    color: #b6423b;
}


/* Row actions */

.admin-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-row-actions form {
    margin: 0;
}

.admin-edit-link,
.admin-delete-link {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: 0 11px;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.admin-edit-link {
    background: #eee7f0;
    color: #65445a;
}

.admin-delete-link {
    background: #fff0ee;
    color: #b33f37;
}


/* Order data */

.admin-contact,
.admin-payment {
    display: flex;
    min-width: 155px;
    flex-direction: column;
    gap: 4px;
}

.admin-contact span,
.admin-payment strong {
    font-size: 12px;
}

.admin-contact small,
.admin-payment small,
.admin-order-time {
    display: block;
    margin-top: 3px;
    color: #887e88;
    font-size: 10px;
}

.order-status-pill {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 20px;
    white-space: nowrap;
    background: #edf2ff;
    color: #38599f;
    font-size: 10px;
    font-weight: 800;
}

.status-done {
    background: #e5f7ed;
    color: #26744d;
}

.status-failed,
.status-cancelled {
    background: #ffe9e7;
    color: #b6423b;
}

.status-processing {
    background: #fff4dd;
    color: #986514;
}


/* Empty state */

.admin-empty-state {
    display: grid;
    place-items: center;
    padding: 45px 20px;
    text-align: center;
}

.admin-empty-state > span {
    margin-bottom: 10px;
    font-size: 35px;
}

.admin-empty-state strong {
    color: #34253c;
}

.admin-empty-state p {
    margin: 7px 0 0;
    color: #857b85;
    font-size: 13px;
}


/* Responsive admin */

@media (max-width: 950px) {

    .admin-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {

    .admin-dashboard-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-actions {
        width: 100%;
    }

    .admin-actions .btn {
        flex: 1;
        text-align: center;
    }

    .admin-actions form {
        display: flex;
        flex: 1;
    }

    .admin-actions form .btn {
        width: 100%;
    }
}

@media (max-width: 520px) {

    .admin-summary-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-head h1 {
        font-size: 32px;
    }
}
/* Header logo */
.brand-with-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-logo-shell {
    display: grid;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-wordmark {
    font-size: 24px;
    font-weight: 900;
    white-space: nowrap;
}

.brand-wordmark > span {
    color: #8fb7ff;
}

/* Footer */
.site-footer {
    margin-top: 0;
    padding: 54px 0 18px;
    background: #171020;
    color: #fff;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.6fr .7fr .7fr;
    gap: 60px;
    padding-bottom: 34px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.footer-brand-link img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.55);
    border-radius: 50%;
}

.footer-brand-link div {
    display: flex;
    flex-direction: column;
}

.footer-brand-link strong {
    color: #ffd3a5;
    font-size: 23px;
}

.footer-brand-link span {
    margin-top: 3px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
}

.footer-company p {
    max-width: 470px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.62);
    line-height: 1.75;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links-group h3 {
    margin: 0 0 7px;
    color: #ffd3a5;
    font-size: 14px;
}

.footer-links-group a {
    color: rgba(255,255,255,.7);
    font-size: 13px;
}

.footer-links-group a:hover {
    color: #fff;
}

.footer-legal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.11);
    color: rgba(255,255,255,.48);
    font-size: 11px;
}

/* Information pages */
.info-page,
.legal-page {
    padding-top: 70px;
    padding-bottom: 90px;
}

.info-hero {
    max-width: 830px;
    margin-bottom: 36px;
}

.info-hero h1,
.legal-page h1 {
    margin: 0;
    color: #291c3a;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.12;
    letter-spacing: -1.4px;
}

.info-hero > p:not(.section-label) {
    margin: 18px 0 0;
    color: #746c75;
    font-size: 18px;
    line-height: 1.75;
}

.info-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.info-card,
.contact-card {
    padding: 26px;
    border: 1px solid #e8e1e5;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(57,39,67,.07);
}

.info-card > span,
.contact-card > span {
    font-size: 34px;
}

.info-card h2,
.contact-card h2 {
    margin: 18px 0 8px;
    color: #291c3a;
    font-size: 20px;
}

.info-card p,
.contact-card p,
.contact-note p {
    margin: 0;
    color: #756d76;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.contact-note {
    margin-top: 25px;
}

.legal-page {
    max-width: 900px;
}

.legal-updated {
    margin: 12px 0 34px;
    color: #8c838c;
    font-size: 13px;
}

.legal-page section {
    margin-top: 28px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e8e1e5;
}

.legal-page section:last-child {
    border-bottom: 0;
}

.legal-page h2 {
    margin: 0 0 10px;
    color: #39283f;
    font-size: 21px;
}

.legal-page p {
    margin: 0;
    color: #716971;
    line-height: 1.8;
}

.copyright-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px !important;
    border: 1px solid #e4d8de !important;
    border-radius: 14px;
    background: #f6edf1;
    color: #5e3d50;
}

@media (max-width: 900px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-company {
        grid-column: 1 / -1;
    }

    .info-card-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .brand-logo-shell {
        width: 40px;
        height: 40px;
    }

    .brand-wordmark {
        font-size: 20px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-company {
        grid-column: auto;
    }

    .footer-legal-bar,
    .copyright-highlight {
        align-items: flex-start;
        flex-direction: column;
    }
}
@import url('./razorpay.css');


/* ==================================================
   Offer Price, Buy Now and Header Cart
================================================== */

.cart-icon-link {
    position: relative;
    display: inline-flex;
    min-width: 48px;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
}

.header-cart-icon {
    color: var(--navy) !important;
    font-size: 21px;
    line-height: 1;
}

.header-cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border: 2px solid var(--navy);
    border-radius: 50%;
    background: var(--blue);
    color: #fff !important;
    font-size: 10px;
    font-weight: 800;
}

.book-discount-badge {
    position: absolute;
    z-index: 4;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    border-radius: 20px;
    background: #8b526b;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.book-title-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
}

.premium-book-card .book-title-price-row h3 {
    min-height: auto;
    margin: 0;
}

.card-price-box {
    display: flex;
    min-width: 95px;
    align-items: flex-end;
    flex-direction: column;
    text-align: right;
}

.offer-label {
    display: inline-flex;
    margin-bottom: 4px;
    padding: 4px 7px;
    border-radius: 20px;
    background: #fff0dc;
    color: #a65b12;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.original-price {
    color: #958d95;
    font-size: 12px;
    text-decoration: line-through;
}

.offer-price {
    margin-top: 2px;
    color: #291c3a;
    font-size: 20px;
    line-height: 1.1;
}

.normal-price-label {
    margin-bottom: 3px;
    color: #8a828d;
    font-size: 9px;
}

.book-purchase-actions {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 9px;
    padding-top: 16px;
    border-top: 1px solid #eee9eb;
}

.book-purchase-actions form,
.detail-purchase-actions form {
    margin: 0;
}

.book-purchase-actions .btn {
    display: inline-flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 9px;
    font-size: 11px;
    white-space: nowrap;
}

.buy-now-btn {
    background: #f6a65c;
    color: #291c3a;
}

.buy-now-btn:hover {
    background: #ed9749;
}

.detail-offer-box {
    display: inline-flex;
    margin: 17px 0 22px;
    padding: 17px 19px;
    flex-direction: column;
    border: 1px solid #ead9df;
    border-radius: 13px;
    background: #fff8f1;
}

.detail-offer-box > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-offer-box strong {
    color: #291c3a;
    font-size: 29px;
}

.detail-discount {
    padding: 5px 8px;
    border-radius: 20px;
    background: #e7f7ed;
    color: #26744d;
    font-size: 10px;
    font-weight: 800;
}

.detail-purchase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 22px;
}

.detail-purchase-actions .btn {
    min-width: 150px;
}

.admin-offer-box {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e3d9df;
    border-radius: 14px;
    background: #fcf8fa;
}

.admin-offer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}

.admin-offer-heading strong {
    color: #34253c;
    font-size: 17px;
}

.admin-offer-heading p {
    margin: 5px 0 0;
    color: #817681;
    font-size: 12px;
}

.offer-switch {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    white-space: nowrap;
    cursor: pointer;
}

.offer-switch input {
    width: 18px !important;
    height: 18px;
    margin: 0 !important;
    accent-color: #8b526b;
}

.offer-fields-disabled {
    pointer-events: none;
    opacity: .45;
}

.field-help {
    display: block;
    margin-top: 5px;
    color: #817681;
    font-size: 11px;
    font-weight: 400;
}

.admin-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-price-wrap del {
    color: #918791;
    font-size: 11px;
}

.admin-price-wrap small {
    color: #a05c73;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-legal-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-admin-corner {
    margin-left: auto;
}

.footer-admin-corner a {
    display: inline-flex;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 8px;
    color: rgba(255, 255, 255, .6);
    font-size: 10px;
}

.footer-admin-corner a:hover {
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

@media (max-width: 700px) {
    .book-title-price-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 9px;
    }

    .card-price-box {
        min-width: 82px;
    }

    .offer-price {
        font-size: 17px;
    }

    .offer-label {
        max-width: 85px;
        white-space: normal;
        text-align: center;
    }

    .book-purchase-actions {
        grid-template-columns: 1fr 1fr;
    }

    .admin-offer-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-admin-corner {
        margin-left: 0;
    }
}

@media (max-width: 420px) {
    .book-purchase-actions {
        grid-template-columns: 1fr;
    }

    .detail-purchase-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .detail-purchase-actions .btn {
        width: 100%;
    }
}
