/* =====================================================
   YVY Document Verification Portal - Main Stylesheet
   ===================================================== */

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
    --bg-primary: #050e1f;
    --bg-secondary: #071525;
    --bg-card: rgba(255,255,255,0.055);
    --bg-card-hover: rgba(255,255,255,0.08);
    --border-subtle: rgba(255,255,255,0.08);
    --border-light: rgba(255,255,255,0.12);
    --text-primary: #ffffff;
    --text-secondary: rgba(200,220,255,0.8);
    --text-muted: rgba(160,190,220,0.5);
    --accent-blue: #1a7fd4;
    --accent-cyan: #00b4d8;
    --accent-green: #1ab87a;
    --accent-lime: #5ecb3e;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-xxl: 28px;
    --shadow-card: 0 32px 80px rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.4);
    --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
    --font: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    font-family: var(--font);
    color: var(--text-primary);
    background:
        radial-gradient(ellipse 70% 50% at 0% 0%, rgba(14,80,160,0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(10,120,80,0.5) 0%, transparent 60%),
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(6,30,60,0.95) 0%, transparent 100%),
        linear-gradient(135deg, #050e1f 0%, #071525 50%, #060f1a 100%);
    background-attachment: fixed;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* --- ORBS --- */
.orb { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; }
.orb1 {
    top: -100px; left: -100px; width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(30,100,220,0.18) 0%, transparent 70%);
}
.orb2 {
    bottom: -80px; right: -80px; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(20,160,100,0.15) 0%, transparent 70%);
}

/* --- ANIMATIONS --- */
@keyframes rise {
    from { opacity:0; transform: translateY(28px) scale(0.96); }
    to   { opacity:1; transform: translateY(0) scale(1); }
}
@keyframes fadeIn {
    from { opacity:0; }
    to   { opacity:1; }
}
@keyframes slideUp {
    from { opacity:0; transform: translateY(20px); }
    to   { opacity:1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes countUp {
    from { opacity:0; transform: translateY(10px); }
    to   { opacity:1; transform: translateY(0); }
}

.animate-rise { animation: rise 0.7s cubic-bezier(0.16,1,0.3,1) both; }
.animate-fade { animation: fadeIn 0.5s ease both; }
.animate-slide { animation: slideUp 0.5s cubic-bezier(0.16,1,0.3,1) both; }

/* --- TOP NAVIGATION --- */
.top-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(5,14,31,0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    height: 64px;
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name {
    font-size: 18px; font-weight: 700; color: #fff; line-height: 1.1;
    font-family: 'Times New Roman', Times, serif; letter-spacing: 0.5px;
}
.nav-brand-tag {
    font-size: 9px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase;
    background: linear-gradient(90deg, #60c8f0, #5ecb3e);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-link {
    padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
    color: var(--text-secondary); text-decoration: none; transition: all var(--transition);
    border: 1px solid transparent;
}
.nav-link:hover { background: rgba(255,255,255,0.06); border-color: var(--border-subtle); color: #fff; }
.nav-link-admin {
    background: linear-gradient(145deg, rgba(26,127,212,0.25), rgba(26,127,212,0.12));
    border-color: rgba(100,180,255,0.2); color: rgba(180,220,255,0.9);
}
.nav-link-admin:hover { background: linear-gradient(145deg, rgba(26,127,212,0.4), rgba(26,127,212,0.2)); color: #fff; }

/* --- MAIN CONTENT --- */
.main-content {
    position: relative; z-index: 1;
    max-width: 900px; margin: 0 auto;
    padding: 88px 20px 40px;
    min-height: 100vh;
}

/* --- HERO SECTION --- */
.hero {
    text-align: center; padding: 40px 0 32px;
    animation: rise 0.7s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-logo-ring {
    position: relative; width: 88px; height: 88px; margin: 0 auto 20px;
}
.hero-logo-ring::before {
    content: ''; position: absolute; inset: -2px; border-radius: 23px;
    background: rgba(0,0,0,0.35); z-index: 0;
}
.hero-logo-ring::after {
    content: ''; position: absolute; inset: -2px; border-radius: 23px;
    border: 1.5px solid rgba(255,255,255,0.08); z-index: 1; pointer-events: none;
}
.hero-logo-sweep {
    position: absolute; inset: -2px; border-radius: 23px; z-index: 2;
    pointer-events: none; overflow: hidden;
}
.hero-logo-sweep::before {
    content: ''; position: absolute; width: 36px; height: 36px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,255,0.95) 0%, rgba(0,212,255,0.4) 40%, transparent 70%);
    filter: blur(3px); animation: cornersweep 2.4s cubic-bezier(0.4,0,0.6,1) infinite;
}
.hero-logo-sweep::after {
    content: ''; position: absolute; width: 24px; height: 24px; border-radius: 50%;
    background: radial-gradient(circle, rgba(57,255,138,0.85) 0%, rgba(57,255,138,0.3) 50%, transparent 70%);
    filter: blur(2px); animation: cornersweep2 2.4s cubic-bezier(0.4,0,0.6,1) infinite;
}
@keyframes cornersweep {
    0%   { top:-14px; left:-14px; }
    25%  { top:-14px; left:calc(100% - 22px); }
    50%  { top:calc(100% - 22px); left:calc(100% - 22px); }
    75%  { top:calc(100% - 22px); left:-14px; }
    100% { top:-14px; left:-14px; }
}
@keyframes cornersweep2 {
    0%   { top:calc(100% - 18px); left:calc(100% - 18px); }
    25%  { top:calc(100% - 18px); left:-10px; }
    50%  { top:-10px; left:-10px; }
    75%  { top:-10px; left:calc(100% - 18px); }
    100% { top:calc(100% - 18px); left:calc(100% - 18px); }
}
.hero-logo-corners {
    position: absolute; inset: -2px; border-radius: 23px; z-index: 3; pointer-events: none;
}
.hero-logo-corners span {
    position: absolute; width: 14px; height: 14px;
    border-color: rgba(0,212,255,0.6); border-style: solid;
}
.hero-logo-corners span:nth-child(1) { top:3px; left:3px; border-width:2px 0 0 2px; border-radius:4px 0 0 0; }
.hero-logo-corners span:nth-child(2) { top:3px; right:3px; border-width:2px 2px 0 0; border-radius:0 4px 0 0; }
.hero-logo-corners span:nth-child(3) { bottom:3px; left:3px; border-width:0 0 2px 2px; border-radius:0 0 0 4px; }
.hero-logo-corners span:nth-child(4) { bottom:3px; right:3px; border-width:0 2px 2px 0; border-radius:0 0 4px 0; }
.hero-logo-inner {
    position: relative; z-index: 4; width: 100%; height: 100%; border-radius: 20px;
    overflow: hidden; border: 1.5px solid rgba(0,0,0,0.25); background: #fff;
}
.hero-logo-inner img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 32px; font-weight: 700; margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-tag {
    font-size: 11px; font-weight: 400; letter-spacing: 2.5px; text-transform: uppercase;
    background: linear-gradient(90deg, #60c8f0, #5ecb3e);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 12px;
}
.hero-desc {
    font-size: 14px; font-weight: 300; color: var(--text-secondary); max-width: 480px; margin: 0 auto;
}

/* --- SEARCH BOX --- */
.search-section {
    animation: rise 0.7s 0.15s cubic-bezier(0.16,1,0.3,1) both;
}
.search-card {
    background: var(--bg-card);
    backdrop-filter: blur(48px) saturate(1.6); -webkit-backdrop-filter: blur(48px) saturate(1.6);
    border-radius: var(--radius-xxl); border: 1px solid var(--border-light);
    overflow: hidden; box-shadow: var(--shadow-card);
}
.accent-bar {
    height: 3px;
    background: linear-gradient(90deg, #1a7fd4 0%, #00b4d8 35%, #1ab87a 65%, #5ecb3e 100%);
    opacity: 0.85;
}
.search-body { padding: 28px 26px; }
.search-label {
    font-size: 13px; font-weight: 500; color: var(--text-secondary);
    margin-bottom: 12px; display: block;
}
.search-input-group {
    display: flex; gap: 10px;
}
.search-input {
    flex: 1; padding: 14px 18px; border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.06); border: 1px solid var(--border-light);
    color: #fff; font-family: var(--font); font-size: 15px; font-weight: 400;
    outline: none; transition: all var(--transition);
}
.search-input::placeholder { color: var(--text-muted); font-weight: 300; }
.search-input:focus { border-color: rgba(0,180,216,0.5); background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(0,180,216,0.1); }
.search-btn {
    padding: 14px 24px; border-radius: var(--radius-lg); border: none;
    background: linear-gradient(145deg, rgba(0,180,216,0.4), rgba(0,180,216,0.2));
    border: 1px solid rgba(80,210,240,0.3); color: rgba(180,235,255,0.95);
    font-family: var(--font); font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all var(--transition); white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,160,200,0.2);
}
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,160,200,0.3); }
.search-btn:active { transform: scale(0.97); }
.search-hint {
    margin-top: 12px; font-size: 12px; color: var(--text-muted); font-weight: 300;
}
.search-hint code {
    background: rgba(255,255,255,0.08); padding: 2px 8px; border-radius: 6px;
    font-size: 11px; color: rgba(180,220,255,0.7); font-family: 'Courier New', monospace;
}

/* --- INFO CARDS --- */
.info-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px; margin-top: 28px;
    animation: rise 0.7s 0.25s cubic-bezier(0.16,1,0.3,1) both;
}
.info-card {
    background: var(--bg-card); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-radius: var(--radius-lg); border: 1px solid var(--border-subtle);
    padding: 20px; transition: all var(--transition);
}
.info-card:hover { background: var(--bg-card-hover); border-color: var(--border-light); transform: translateY(-2px); }
.info-card-icon { font-size: 28px; margin-bottom: 10px; }
.info-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.info-card p { font-size: 12.5px; font-weight: 300; color: var(--text-secondary); line-height: 1.5; }

/* --- VERIFICATION RESULT --- */
.result-card {
    background: var(--bg-card);
    backdrop-filter: blur(48px) saturate(1.6); -webkit-backdrop-filter: blur(48px) saturate(1.6);
    border-radius: var(--radius-xxl); border: 1px solid var(--border-light);
    overflow: hidden; box-shadow: var(--shadow-card);
    animation: rise 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
.result-header {
    padding: 24px 26px 16px; border-bottom: 1px solid var(--border-subtle);
}
.result-status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600;
    letter-spacing: 0.5px;
}
.result-status-dot {
    width: 8px; height: 8px; border-radius: 50%; animation: pulse 2s infinite;
}
.result-body { padding: 24px 26px; }
.result-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.result-row:last-child { border-bottom: none; }
.result-label { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.result-value { font-size: 14px; font-weight: 500; color: var(--text-primary); text-align: right; max-width: 60%; word-break: break-all; }
.result-doc-num {
    font-family: 'Courier New', monospace; font-size: 16px !important; font-weight: 700 !important;
    background: linear-gradient(90deg, #60c8f0, #5ecb3e);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.result-actions {
    padding: 18px 26px 22px; display: flex; gap: 10px; flex-wrap: wrap;
    border-top: 1px solid var(--border-subtle);
}
.action-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: var(--radius-md); border: none;
    font-family: var(--font); font-size: 13px; font-weight: 500; cursor: pointer;
    transition: all var(--transition); text-decoration: none;
}
.action-btn:hover { transform: translateY(-2px); }
.action-btn:active { transform: scale(0.97); }
.action-btn-primary {
    background: linear-gradient(145deg, rgba(0,180,216,0.4), rgba(0,180,216,0.2));
    border: 1px solid rgba(80,210,240,0.3); color: rgba(180,235,255,0.95);
    box-shadow: 0 4px 16px rgba(0,160,200,0.2);
}
.action-btn-green {
    background: linear-gradient(145deg, rgba(26,184,122,0.35), rgba(26,184,122,0.15));
    border: 1px solid rgba(80,220,140,0.25); color: rgba(160,255,190,0.95);
    box-shadow: 0 4px 16px rgba(26,184,122,0.15);
}
.action-btn-copy {
    background: linear-gradient(145deg, rgba(180,100,255,0.25), rgba(120,60,220,0.12));
    border: 1px solid rgba(180,120,255,0.2); color: rgba(220,190,255,0.9);
}

/* --- QR CODE --- */
.qr-section {
    text-align: center; padding: 20px 26px; border-top: 1px solid var(--border-subtle);
}
.qr-title { font-size: 12px; font-weight: 400; color: var(--text-muted); margin-bottom: 12px; }
.qr-image { border-radius: var(--radius-sm); background: #fff; padding: 8px; display: inline-block; }

/* --- PDF PREVIEW --- */
.preview-section { padding: 20px 26px; border-top: 1px solid var(--border-subtle); }
.preview-title { font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 12px; }
.preview-frame {
    width: 100%; height: 500px; border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle); background: rgba(0,0,0,0.3);
}
.preview-img {
    max-width: 100%; max-height: 500px; border-radius: var(--radius-md);
    display: block; margin: 0 auto;
}

/* --- NO RESULT --- */
.no-result {
    text-align: center; padding: 48px 26px;
    animation: rise 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
.no-result-icon { font-size: 56px; margin-bottom: 16px; opacity: 0.6; }
.no-result h2 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.no-result p { font-size: 14px; color: var(--text-secondary); font-weight: 300; margin-bottom: 20px; }
.no-result .search-input-group { max-width: 440px; margin: 0 auto; }

/* --- VERIFIED BADGE --- */
.verified-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 50px; font-size: 14px; font-weight: 600;
    background: rgba(26,184,122,0.12); border: 1px solid rgba(26,184,122,0.3);
    color: #1ab87a; margin-bottom: 16px;
}

/* --- FOOTER --- */
.site-footer {
    text-align: center; padding: 32px 20px; margin-top: 40px;
    border-top: 1px solid var(--border-subtle);
    position: relative; z-index: 1;
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-logo { width: 32px; height: 32px; margin: 0 auto 10px; border-radius: 6px; opacity: 0.5; }
.footer-text { font-size: 12px; color: var(--text-muted); font-weight: 300; }
.footer-sub { font-size: 10px; color: rgba(160,190,220,0.3); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

/* --- TOAST --- */
.toast {
    position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
    background: rgba(10,30,60,0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    color: rgba(180,230,255,0.95); padding: 12px 28px; border-radius: 50px;
    font-size: 13px; font-weight: 500; border: 1px solid rgba(100,180,255,0.25);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4); opacity: 0; transition: opacity 0.3s;
    pointer-events: none; white-space: nowrap; z-index: 9999;
}
.toast.show { opacity: 1; }

/* --- BACK LINK --- */
.back-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--text-secondary); text-decoration: none;
    margin-bottom: 20px; transition: color var(--transition);
}
.back-link:hover { color: #fff; }

/* --- FORM ELEMENTS --- */
.form-group { margin-bottom: 18px; }
.form-label {
    display: block; font-size: 12px; font-weight: 500; color: var(--text-secondary);
    margin-bottom: 6px; letter-spacing: 0.3px;
}
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 12px 16px; border-radius: var(--radius-md);
    background: rgba(255,255,255,0.06); border: 1px solid var(--border-light);
    color: #fff; font-family: var(--font); font-size: 14px; font-weight: 400;
    outline: none; transition: all var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: rgba(0,180,216,0.5); background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(0,180,216,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); font-weight: 300; }
.form-select { cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='rgba(200,220,255,0.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 36px;
}
.form-select option { background: #0a1628; color: #fff; }
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 11px; color: #ff6b6b; margin-top: 4px; }
.form-file {
    width: 100%; padding: 20px; border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03); border: 2px dashed var(--border-light);
    text-align: center; cursor: pointer; transition: all var(--transition);
    position: relative; overflow: hidden;
}
.form-file:hover { border-color: rgba(0,180,216,0.4); background: rgba(0,180,216,0.05); }
.form-file input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.form-file-icon { font-size: 32px; margin-bottom: 8px; }
.form-file-text { font-size: 13px; color: var(--text-secondary); }
.form-file-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* --- BUTTONS (Generic) --- */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: var(--radius-md); border: none;
    background: linear-gradient(145deg, rgba(0,180,216,0.4), rgba(0,180,216,0.2));
    border: 1px solid rgba(80,210,240,0.3); color: rgba(180,235,255,0.95);
    font-family: var(--font); font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(0,160,200,0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,160,200,0.3); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn-danger {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: var(--radius-md); border: none;
    background: linear-gradient(145deg, rgba(255,71,87,0.35), rgba(255,71,87,0.15));
    border: 1px solid rgba(255,100,100,0.25); color: rgba(255,180,180,0.95);
    font-family: var(--font); font-size: 13px; font-weight: 500; cursor: pointer;
    transition: all var(--transition);
}
.btn-danger:hover { transform: translateY(-1px); }
.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: var(--radius-md); border: none;
    background: rgba(255,255,255,0.06); border: 1px solid var(--border-subtle);
    color: var(--text-secondary); font-family: var(--font); font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* --- TABLE --- */
.data-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: var(--bg-card); border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle); overflow: hidden;
}
.data-table th {
    text-align: left; padding: 14px 16px; font-size: 11px; font-weight: 600;
    color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px;
    background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border-subtle);
}
.data-table td {
    padding: 12px 16px; font-size: 13px; color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.data-table tr:hover td { background: rgba(255,255,255,0.03); }
.data-table tr:last-child td { border-bottom: none; }
.table-doc-num { font-family: 'Courier New', monospace; font-size: 12px; font-weight: 600; color: #fff; }
.table-actions { display: flex; gap: 6px; }
.table-btn {
    padding: 6px 12px; border-radius: var(--radius-sm); border: none;
    font-family: var(--font); font-size: 11px; font-weight: 500; cursor: pointer;
    transition: all var(--transition); text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.table-btn-edit { background: rgba(0,180,216,0.15); color: rgba(180,235,255,0.9); border: 1px solid rgba(0,180,216,0.2); }
.table-btn-edit:hover { background: rgba(0,180,216,0.25); }
.table-btn-view { background: rgba(94,203,62,0.15); color: rgba(190,250,160,0.9); border: 1px solid rgba(94,203,62,0.2); }
.table-btn-view:hover { background: rgba(94,203,62,0.25); }
.table-btn-del { background: rgba(255,71,87,0.12); color: rgba(255,180,180,0.9); border: 1px solid rgba(255,71,87,0.2); }
.table-btn-del:hover { background: rgba(255,71,87,0.25); }

/* --- STATUS BADGE --- */
.status-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 600;
    letter-spacing: 0.3px;
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; }

/* --- PAGINATION --- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.page-btn {
    padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.04); color: var(--text-secondary); font-size: 13px;
    font-family: var(--font); cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.page-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.page-btn.active { background: linear-gradient(145deg, rgba(0,180,216,0.3), rgba(0,180,216,0.15));
    border-color: rgba(0,180,216,0.3); color: rgba(180,235,255,0.95); }

/* --- MODAL --- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; z-index: 1000;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    background: rgba(10,20,40,0.95); backdrop-filter: blur(24px);
    border-radius: var(--radius-xl); border: 1px solid var(--border-light);
    padding: 28px; max-width: 420px; width: 90%; box-shadow: 0 32px 80px rgba(0,0,0,0.8);
    transform: scale(0.95); transition: transform 0.3s;
}
.modal-overlay.active .modal { transform: scale(1); }
.modal h3 { font-size: 18px; margin-bottom: 8px; }
.modal p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* --- FILTER BAR --- */
.filter-bar {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; align-items: center;
}
.filter-bar .form-input, .filter-bar .form-select {
    max-width: 200px; padding: 10px 14px; font-size: 13px;
}

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
    .search-input-group { flex-direction: column; }
    .search-btn { width: 100%; text-align: center; justify-content: center; }
    .result-row { flex-direction: column; gap: 4px; }
    .result-value { text-align: left; max-width: 100%; }
    .result-actions { flex-direction: column; }
    .action-btn { justify-content: center; width: 100%; }
    .info-grid { grid-template-columns: 1fr; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 24px; }
    .filter-bar .form-input, .filter-bar .form-select { max-width: 100%; }
    .data-table { font-size: 12px; }
    .data-table th, .data-table td { padding: 10px 10px; }
    .table-responsive { overflow-x: auto; }
}