@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f5f7fa;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navbar ===== */
.navbar {
    background: #0d1b2a;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-brand-sub {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.5;
    letter-spacing: 0.5px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #4facfe;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #0f3460 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #4facfe;
    margin-bottom: 12px;
    font-weight: 600;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 550px;
    margin: 0 auto;
}

/* ===== Books Section ===== */
.books-section {
    padding: 60px 0 80px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #0d1b2a;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

/* ===== Book Card ===== */
.book-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.book-cover {
    background: linear-gradient(170deg, #0a0a0a 0%, #0d1b2a 30%, #1b2838 60%, #0d1b2a 100%);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: center;
}

.book-cover::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.2) 0%, transparent 65%);
    border-radius: 50%;
}

.cover-inner {
    position: relative;
    z-index: 2;
}

.cover-badge {
    display: inline-block;
    border: 1px solid rgba(79, 172, 254, 0.5);
    padding: 3px 10px;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(79, 172, 254, 0.9);
    margin-bottom: 16px;
}

.cover-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.cover-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cover-features span {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 4px 8px;
    font-size: 0.55rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.5px;
    font-weight: 600;
}

.cover-brand {
    margin-top: 18px;
    font-size: 0.65rem;
    font-weight: 800;
    color: rgba(255,255,255,0.35);
    letter-spacing: 3px;
}

.book-info {
    padding: 24px;
}

.book-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0d1b2a;
}

.book-desc {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 14px;
    line-height: 1.5;
}

.book-cta {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4facfe;
}

.book-price {
    margin-bottom: 10px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.price-now {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0d1b2a;
}

.price-old-btn {
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
}

/* Book 2 Dark Cover */
.book-cover--dark {
    background: #000;
    border: 3px solid #fff;
}

.book-cover--dark::before {
    display: none;
}

.cover-badge-light {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
    margin-bottom: 16px;
}

.cover-subtitle-light {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #aaa;
    margin-top: 8px;
}

/* ===== Footer ===== */
.footer {
    background: #0d1b2a;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 24px 20px;
    font-size: 0.85rem;
}

/* ===== Generic Page Content ===== */
.page-content {
    padding: 50px 0 80px;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0d1b2a;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 32px;
}

.about-content {
    max-width: 700px;
}

.about-content p {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-top: 28px;
    margin-bottom: 10px;
}

.about-content ul {
    list-style: none;
    padding: 0;
}

.about-content li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: #444;
}

.about-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #4facfe;
    font-weight: 700;
}

/* ===== Support Form ===== */
.support-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e4e8;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4facfe;
}

/* ===== Popup ===== */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 2000;
}

.popup-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.popup-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.popup-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4facfe, #43e97b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 auto 16px;
}

.popup-box h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 8px;
}

.popup-box p {
    color: #555;
    margin-bottom: 24px;
}

.popup-close {
    border: none;
    padding: 12px 32px;
    font-size: 0.95rem;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.popup-box {
    position: relative;
}

/* ===== Preview Page ===== */
.preview-header {
    background: #0d1b2a;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.preview-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.preview-book-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.preview-info {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin-top: 2px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.preview-reader {
    padding: 40px 0 60px;
}

.pdf-viewer-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}

.pdf-viewer {
    width: 100%;
    height: 75vh;
    min-height: 500px;
    border: none;
    display: block;
}

.preview-cta {
    text-align: center;
    margin-top: 48px;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.preview-cta p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 16px;
    font-weight: 600;
}

/* ===== Book Detail Page ===== */
.book-detail-page {
    padding: 50px 0 80px;
}

.book-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: start;
}

.book-cover--large {
    padding: 48px 36px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.book-cover--large .cover-title {
    font-size: 2rem;
}

.detail-badge {
    display: inline-block;
    background: #e8f4fd;
    color: #0f3460;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.detail-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0d1b2a;
    margin-bottom: 12px;
    line-height: 1.2;
}

.detail-subtitle {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.detail-highlights {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.highlight-item {
    text-align: center;
    padding: 16px 20px;
    background: #f0f4f8;
    border-radius: 12px;
    flex: 1;
}

.highlight-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #0f3460;
}

.highlight-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-description {
    margin-bottom: 32px;
}

.detail-description h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0d1b2a;
}

.detail-description ul {
    list-style: none;
    padding: 0;
}

.detail-description li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #444;
    font-size: 0.95rem;
}

.detail-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #43e97b;
    font-weight: 700;
}

.detail-actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-preview {
    background: #f0f4f8;
    color: #0d1b2a;
    border: 2px solid #d0d8e0;
}

.btn-preview:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-buy {
    background: linear-gradient(135deg, #4facfe 0%, #43e97b 100%);
    color: #fff;
    border: none;
}

.btn-buy:hover {
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0d1b2a;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.open {
        max-height: 300px;
        padding: 10px 0;
    }

    .nav-menu li {
        text-align: center;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 12px 20px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .book-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .book-detail-cover {
        display: flex;
        justify-content: center;
    }

    .book-cover--large {
        max-width: 300px;
    }

    .detail-title {
        font-size: 1.7rem;
    }

    .detail-highlights {
        gap: 12px;
    }

    .detail-actions {
        flex-direction: column;
    }
}

/* ===== Admin Styles ===== */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d1b2a;
}

.admin-login-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.admin-login-box h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 24px;
    text-align: center;
}

.login-error {
    background: #ffe0e0;
    color: #c00;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    text-align: center;
}

.admin-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    flex: 1;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #0d1b2a;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.admin-section {
    margin-bottom: 40px;
}

.admin-section h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 16px;
}

.table-wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    max-width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    white-space: nowrap;
}

.admin-table th {
    background: #f0f4f8;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 16px;
    border-top: 1px solid #eee;
    color: #444;
}

.admin-table code {
    background: #f0f4f8;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.empty-state {
    color: #888;
    font-style: italic;
    padding: 20px 0;
}

.btn-view-img {
    display: inline-block;
    padding: 4px 10px;
    background: #4facfe;
    color: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.btn-view-img:hover {
    background: #2d8fe0;
}

.log-filter-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

.filter-input {
    padding: 8px 14px;
    border: 2px solid #e0e4e8;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    width: 220px;
}

.filter-input:focus {
    outline: none;
    border-color: #4facfe;
}

.ip-link {
    color: #4facfe;
    text-decoration: none;
    font-weight: 600;
}

.ip-link:hover {
    text-decoration: underline;
}

.admin-nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid #e0e4e8;
}

.tab {
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.tab:hover {
    color: #0d1b2a;
}

.tab.active {
    color: #4facfe;
    border-bottom-color: #4facfe;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding: 16px 0;
}

.page-info {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.log-count {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 16px;
}

/* ===== Astro Theme Additions ===== */

/* Hero CTA button */
.hero-cta {
    display: inline-block;
    margin-top: 28px;
    padding: 16px 36px;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-buttons .hero-cta {
    margin-top: 0;
}

/* AI Badge */
.hero-ai-badge {
    margin-top: 0;
    margin-bottom: 20px;
}

.ai-badge {
    display: inline-block;
    background: rgba(107, 47, 160, 0.15);
    border: 1px solid rgba(107, 47, 160, 0.3);
    color: #c9a0ff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.ai-badge-inline {
    display: inline-block;
    background: rgba(107, 47, 160, 0.08);
    border: 1px solid rgba(107, 47, 160, 0.2);
    color: #6b2fa0;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    margin-top: 8px;
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #6b2fa0;
}

input:disabled {
    background-color: #e9ecef;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0d1b2a;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.step-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform 0.25s;
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4facfe 0%, #43e97b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.feature-item {
    background: #fff;
    padding: 28px 22px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
}

/* Report Form */
.report-form {
    max-width: 600px;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row .form-group {
    min-width: 0;
}

.form-row .form-group input {
    min-width: 0;
    max-width: 100%;
}

input[type="date"],
input[type="time"] {
    max-width: 100%;
    min-width: 0;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 14px;
    height: auto;
}

.form-price-box {
    background: #f0f4f8;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: center;
}

.price-info {
    margin-bottom: 6px;
}

.price-info .price-old {
    font-size: 1.1rem;
    margin-right: 8px;
}

.price-info .price-now {
    font-size: 1.6rem;
}

.price-note {
    font-size: 0.82rem;
    color: #666;
}

.btn-full {
    width: 100%;
    border: none;
    font-size: 1.05rem;
    padding: 16px;
}

/* Status badges for admin */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cce5ff;
    color: #004085;
}

.status-delivered {
    background: #d4edda;
    color: #155724;
}

.status-failed {
    background: #f8d7da;
    color: #721c24;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Palm instruction box */
.palm-instruction {
    background: #e8f4fd;
    border-left: 4px solid #4facfe;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 28px;
    max-width: 600px;
}

.palm-instruction p {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.label-hint {
    font-weight: 400;
    color: #888;
    font-size: 0.8rem;
}

.image-preview img {
    display: block;
    margin-top: 10px;
    max-width: 200px;
    border-radius: 8px;
    border: 2px solid #e0e4e8;
}

input[type="file"] {
    padding: 10px 14px;
}

/* Loading spinner */
.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e0e4e8;
    border-top-color: #4facfe;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
