/* ===== DRRRK VN - Design System ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #111111;
    --white: #FFFFFF;
    --cta: #FDC42D;
    --cta-hover: #F5B820;
    --accent: #FBB144;
    --gray-hint: #BDBDBD;
    --gray-sub: #767676;
    --gray-bg: #F5F5F5;
    --gray-border: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --success: #10B981;
    --danger: #EF4444;
    --primary: #2563EB;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.app {
    max-width: 375px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    background: var(--white);
}

@media (min-width: 376px) {
    .app { box-shadow: 0 0 30px rgba(0,0,0,0.08); }
}

/* ===== Header ===== */
.app-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    height: 60px;
}

.logo-text {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--black);
}

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

.nav-link {
    font-size: 15px;
    color: var(--gray-hint);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.nav-link.bold, .nav-link.active {
    color: var(--black);
    font-weight: 700;
}

.share-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--black);
    padding: 4px;
}

/* ===== Tab switching ===== */
.tab-content.hidden { display: none; }

.nav-link.faded { color: var(--gray-hint); font-weight: 600; }
.nav-link.bold { color: var(--black); font-weight: 700; }

/* ===== Sheet Backdrop ===== */
.sheet-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 90;
}

.sheet-backdrop.open { display: block; }

/* ===== Hero Section ===== */
.hero-section {
    padding: 40px 20px 0;
    text-align: center;
}

.hero-text h1 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.65px;
    color: var(--black);
    margin-bottom: 12px;
}

.hero-sub {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.4px;
}

/* Scooter slider animation */
.slider-container {
    overflow: hidden;
    margin: 32px 0;
    height: 280px;
    position: relative;
}

.slider-track {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: slideScooter 6s ease-in-out infinite;
}

.slider-img {
    width: 274px;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 5px 4px rgba(0,0,0,0.15));
}

@keyframes slideScooter {
    0%, 15% { transform: translateX(-50%); }
    35%, 65% { transform: translateX(-120%); }
    85%, 100% { transform: translateX(-50%); }
}

.hero-image {
    margin: 32px auto;
    max-width: 220px;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 4px rgba(0,0,0,0.25));
}

/* ===== Features ===== */
.features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 16px 32px;
}

.feature {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.feature span {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-sub);
    text-align: center;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.feature-divider {
    width: 1px;
    height: 50px;
    background: var(--gray-200);
}

/* ===== CTA Fixed Bottom ===== */
.cta-fixed {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 375px;
    padding: 12px 16px 24px;
    background: var(--white);
    z-index: 40;
}

.btn-cta {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--cta);
    color: var(--black);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.4px;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

.btn-cta:hover { background: var(--cta-hover); }
.btn-cta:disabled { background: var(--gray-300); cursor: not-allowed; }

/* ===== Upload Sheet (Bottom Sheet style) ===== */
.upload-sheet {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: 375px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
    z-index: 100;
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 24px 20px 32px;
}

.upload-sheet.open {
    transform: translateX(-50%) translateY(0);
}

.sheet-header {
    margin-bottom: 24px;
}

.sheet-header h2 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.sheet-desc {
    font-size: 14px;
    color: var(--gray-sub);
}

.sheet-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
}

/* ===== Upload Area ===== */
.upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--gray-bg);
    margin-bottom: 16px;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--cta);
    background: #FFF9E6;
}

.upload-area.has-images {
    padding: 12px;
}

.upload-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 8px;
}

.upload-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.upload-btn.primary {
    background: var(--black);
    color: var(--white);
}

.upload-btn.secondary {
    background: var(--gray-200);
    color: var(--black);
}

.upload-hint {
    font-size: 12px;
    color: var(--gray-hint);
}

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

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-add {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    cursor: pointer;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
}

.preview-add span {
    font-size: 24px;
    color: var(--gray-400);
}

/* ===== Extra Info Toggle ===== */
.extra-info-toggle {
    margin-bottom: 16px;
}

.extra-info-toggle summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--gray-bg);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--gray-sub);
    font-weight: 500;
}

.extra-info-toggle summary::-webkit-details-marker { display: none; }
.extra-info-toggle summary svg { transition: transform 0.2s; }
.extra-info-toggle[open] summary svg { transform: rotate(180deg); }

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

.form-group select,
.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--black);
    background: var(--white);
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--cta);
    box-shadow: 0 0 0 3px rgba(253,196,45,0.2);
}

/* ===== Spinner ===== */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top-color: var(--black);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

.spinner.large {
    width: 48px;
    height: 48px;
    border-width: 4px;
    border-color: var(--gray-300);
    border-top-color: var(--cta);
}

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

/* ===== Result Page ===== */
.result-card {
    background: var(--white);
    overflow: hidden;
}

.result-images { position: relative; }

.main-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-list {
    display: flex;
    gap: 4px;
    padding: 8px 16px;
    overflow-x: auto;
}

.thumb-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumb-img:hover { border-color: var(--cta); }

.result-info { padding: 24px 20px; }

.result-header { margin-bottom: 20px; }

.result-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.5px;
}

.result-meta {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-sub);
}

.badge.trend { font-weight: 600; }

/* Price Section */
.price-section {
    background: var(--black);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    text-align: center;
}

.price-label {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.price-value {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.price-average {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 6px;
}

.price-source-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
}

.price-source-tag.DB { background: #10B981; color: white; }
.price-source-tag.AI_ESTIMATE { background: var(--accent); color: var(--black); }

/* Condition */
.condition-section {
    background: var(--gray-bg);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.condition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.condition-label { font-size: 14px; font-weight: 600; }

.condition-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--gray-200);
}

.condition-detail { font-size: 14px; color: var(--gray-sub); }

.summary-section {
    padding: 12px 0;
    margin-bottom: 16px;
    border-top: 1px solid var(--gray-200);
}

.summary-section p { font-size: 14px; color: var(--gray-sub); line-height: 1.7; }

/* Share */
.share-section {
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
    margin-bottom: 16px;
}

.share-section h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }

.share-buttons { display: flex; gap: 8px; margin-bottom: 12px; }

.share-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
}

.share-btn.facebook { background: #1877F2; }
.share-btn.zalo { background: #0068FF; }
.share-btn.copy-link { background: var(--black); }
.share-btn.native-share { background: var(--success); }

.share-link-box input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--gray-400);
    background: var(--gray-bg);
}

.copy-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: #fff;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    z-index: 200;
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.view-count { text-align: center; font-size: 13px; color: var(--gray-400); margin-bottom: 16px; }

.cta-section { text-align: center; padding-bottom: 24px; }

.btn-outline {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

/* ===== Confirm Page (IDENTIFIED) ===== */
.confirm-header { text-align: center; margin-bottom: 20px; }
.confirm-header h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.5px; }
.confirm-desc { font-size: 13px; color: var(--gray-sub); }

.confirm-form { display: flex; flex-direction: column; gap: 12px; }

.confirm-field { display: flex; flex-direction: column; gap: 4px; }
.confirm-field label { font-size: 12px; font-weight: 600; color: var(--gray-sub); text-transform: uppercase; letter-spacing: 0.5px; }
.confirm-field input, .confirm-field select { padding: 12px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 15px; color: var(--black); background: var(--white); }
.confirm-field input:focus, .confirm-field select:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(253,196,45,0.2); }

/* ===== Skeleton UI ===== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-line {
    height: 16px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    margin-bottom: 10px;
}

.skeleton-line.w90 { width: 90%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w70 { width: 70%; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w50 { width: 50%; }

.skeleton-price {
    height: 100px;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    margin: 16px 0;
}

.skeleton-progress { height: 6px; background: var(--gray-200); border-radius: 3px; margin-bottom: 12px; overflow: hidden; }
.skeleton-progress-bar { height: 100%; width: 30%; background: var(--cta); border-radius: 3px; animation: progressPulse 3s ease-in-out infinite; }
@keyframes progressPulse { 0% { width: 10%; } 50% { width: 70%; } 100% { width: 90%; } }
.skeleton-status { font-size: 14px; color: var(--gray-sub); font-weight: 500; margin-bottom: 16px; text-align: center; }

/* Zalo Notify */
.notify-section { margin-top: 20px; padding: 16px; background: #EFF6FF; border-radius: var(--radius-sm); border: 1px solid #BFDBFE; }
.notify-text { font-size: 13px; color: var(--gray-sub); margin-bottom: 4px; }
.notify-form { display: flex; gap: 8px; margin-top: 10px; }
.notify-form input { flex: 1; padding: 10px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 14px; }
.btn-notify { padding: 10px 14px; background: #0068FF; color: #fff; border: none; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-notify:disabled { background: var(--gray-400); }
.notify-hint { font-size: 12px; color: var(--gray-400); margin-top: 6px; }

/* Error Card */
.error-card {
    padding: 48px 24px;
    text-align: center;
}
.error-card h2 { font-size: 18px; margin-bottom: 8px; }
.error-card p { color: var(--gray-sub); font-size: 14px; margin-bottom: 20px; }

/* Footer */
.footer { padding: 24px 0; text-align: center; }
.footer-content p { font-size: 13px; color: var(--gray-400); }

/* ===== Admin ===== */
.status-badge { padding: 3px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.status-badge.COMPLETED { background: #D1FAE5; color: #065F46; }
.status-badge.IDENTIFIED { background: #DBEAFE; color: #1E40AF; }
.status-badge.PROCESSING { background: #FEF3C7; color: #92400E; }
.status-badge.PRICING { background: #E0E7FF; color: #3730A3; }
.status-badge.ERROR { background: #FEE2E2; color: #991B1B; }

/* ===== Report (COMPLETED) - Korean Figma Design ===== */
.report-bg {
    background: linear-gradient(180deg, #E8ECF3 0%, #F6F6F6 100%);
    min-height: 100vh;
}

.report-card {
    margin: 0 20px 24px;
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

.report-card-header {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 20px;
}

.report-card-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.6px;
}

.report-card-header p {
    font-size: 14px;
    color: var(--gray-sub);
    margin-top: 4px;
}

.report-section { margin-bottom: 20px; }

.report-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

/* Price card */
.price-card {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.price-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.price-card-label {
    font-size: 16px;
    color: var(--gray-sub);
}

.price-card-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
}

.price-card-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 12px 0;
}

.price-card-main {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.5px;
}

.price-source-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.price-source-tag.DB { background: #D1FAE5; color: #065F46; }
.price-source-tag.AI_ESTIMATE { background: #FEF3C7; color: #92400E; }

/* Opinion box */
.report-opinion {
    background: #F6F6F6;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
    position: relative;
}

.opinion-arrow {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: #F6F6F6;
}

.opinion-label {
    font-size: 14px;
    color: var(--gray-sub);
    margin-bottom: 8px;
}

.opinion-text {
    font-size: 16px;
    font-weight: 600;
    color: #14CC00;
    line-height: 1.4;
}

/* Report images */
.report-images {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
}

.report-image-item {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: #EDEDED;
}

.report-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Report table */
.report-table { margin-top: 16px; }

.report-table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.report-table-row span:first-child {
    font-size: 15px;
    color: var(--gray-sub);
    font-weight: 500;
}

.report-table-row span:last-child {
    font-size: 15px;
    color: var(--black);
    font-weight: 600;
    text-align: right;
}

.report-desc {
    margin-top: 16px;
    padding-top: 12px;
}

.report-desc-label {
    font-size: 15px;
    color: var(--gray-sub);
    margin-bottom: 8px;
}

.report-desc p {
    font-size: 15px;
    color: var(--black);
    line-height: 1.5;
}

/* ===== Loading Screen (PROCESSING/PRICING) ===== */
.loading-screen {
    min-height: 100vh;
    background: linear-gradient(180deg, #FFE4E1 0%, #FFECD2 30%, #FFF8E1 60%, #FFFFFF 100%);
    display: flex;
    flex-direction: column;
    position: relative;
}

.loading-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.loading-center h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    letter-spacing: -0.7px;
    margin-bottom: 12px;
}

.loading-center p {
    font-size: 14px;
    color: var(--black);
    line-height: 1.5;
    letter-spacing: -0.35px;
}

.loading-bottom {
    padding: 0 20px 60px;
    text-align: center;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.loading-dots span {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--black);
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
.loading-dots span:nth-child(4) { animation-delay: 0.6s; }

@keyframes dotPulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}

.loading-status {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.4px;
}

/* ===== Header variants ===== */
.header-back {
    color: var(--black);
    text-decoration: none;
    display: flex;
}

.header-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

/* ===== Identified Page ===== */
.page-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.6px;
    color: var(--black);
    margin-bottom: 8px;
}

.page-desc {
    font-size: 14px;
    color: var(--gray-sub);
    letter-spacing: -0.35px;
}

.image-thumbs-row {
    padding: 8px 20px 16px;
}

.image-count {
    font-size: 13px;
    color: var(--gray-sub);
    font-weight: 500;
}

.image-thumbs-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}

.image-thumb-item {
    flex-shrink: 0;
    width: 74px;
    height: 74px;
    border-radius: 6px;
    overflow: hidden;
    background: #F6F6F6;
}

.image-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

.info-section-icon {
    font-size: 20px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F6F6F6;
}

.info-label {
    font-size: 14px;
    color: var(--gray-sub);
    font-weight: 500;
    width: 80px;
    flex-shrink: 0;
    letter-spacing: -0.35px;
}

.info-label.required::after {
    content: ' *';
    color: red;
}

.info-value {
    flex: 1;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    letter-spacing: -0.35px;
}

/* Edit page fields */
.edit-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #F6F6F6;
}

.edit-field label {
    font-size: 14px;
    color: var(--gray-sub);
    font-weight: 500;
    width: 70px;
    flex-shrink: 0;
}

.edit-field input,
.edit-field select {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--black);
    background: var(--white);
}

.edit-field input:focus,
.edit-field select:focus {
    outline: none;
    border-color: var(--cta);
    box-shadow: 0 0 0 3px rgba(253,196,45,0.2);
}

.bottom-actions {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    margin-top: 16px;
}

.radio-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.radio-card input { display: none; }

.radio-card:has(input:checked) {
    border-color: var(--cta);
    background: #FFF9E6;
    font-weight: 600;
}

.btn-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: var(--white);
    color: var(--black);
    border: 1px solid #E0E0E0;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

/* ===== Mobile ===== */
@media (max-width: 375px) {
    .form-grid { grid-template-columns: 1fr; }
    .share-buttons { flex-direction: column; }
    .features { padding: 0 8px 24px; }
    .page-title { font-size: 20px; }
}
