/* =========================================
   UK HERO SECTION (FINAL)
   ========================================= */

:root {
    --uk-navy: #012169;      
    --uk-flag-blue: #012169; 
    --uk-flag-red: #C8102E;  
    --uk-white: #FFFFFF;
    --text-silver: #e2e8f0;
}

.uk-hero-prestige {
    position: relative;
    width: 100%;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 20px;
    font-family: 'Poppins', sans-serif;
    color: #fff;
}

/* --- BACKGROUND LAYERS --- */
.uk-bg-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.uk-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

/* LARGE FLAG WATERMARK */
.uk-flag-watermark {
    position: absolute;
    top: -15%; 
    right: -15%; 
    width: 80%;  
    height: 130%;
    background-image: url('/study-in-abroad/europe/uk/images/Flag_of_UK.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 2; 
    transform: rotate(15deg); 
    filter: grayscale(20%) contrast(110%);
    pointer-events: none;
}

.uk-overlay-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 3;
    background: linear-gradient(105deg, 
        rgba(1, 33, 105, 0.98) 0%, 
        rgba(1, 33, 105, 0.95) 40%, 
        rgba(1, 33, 105, 0.6) 100%);
}

/* --- LAYOUT --- */
.uk-container-pro {
    position: relative;
    z-index: 4;
    max-width: 1250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* --- LEFT CONTENT --- */
.uk-text-content {
    flex: 1;
    max-width: 600px;
}

.status-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; color: #fff;
    margin-bottom: 25px;
}

.pulse-red {
    width: 8px; height: 8px; background: var(--uk-flag-red);
    border-radius: 50%; box-shadow: 0 0 10px var(--uk-flag-red);
    animation: pulse 2s infinite;
}

.prestige-title {
    font-size: 3.8rem; font-weight: 800; line-height: 1.1;
    margin: 0 0 25px 0; color: #fff; 
}
.text-uk-red { 
    color: #ff4d4d; 
    text-shadow: 0 0 30px rgba(200, 16, 46, 0.4);
}

.prestige-desc {
    font-size: 1.1rem; color: var(--text-silver); line-height: 1.7;
    margin-bottom: 40px; max-width: 90%;
}
.prestige-desc strong { color: #fff; font-weight: 600; }

/* Buttons */
.action-row { display: flex; gap: 20px; margin-bottom: 30px; }

.btn-uk-primary {
    padding: 15px 35px;
    background: var(--uk-flag-red);
    color: #fff; font-weight: 700; text-decoration: none;
    border-radius: 6px; display: flex; align-items: center; gap: 8px;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 10px 25px rgba(200, 16, 46, 0.4);
}
.btn-uk-primary:hover { transform: translateY(-3px); background: #a80d25; }

.btn-glass-outline {
    padding: 15px 35px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff; font-weight: 600; text-decoration: none;
    border-radius: 6px; display: flex; align-items: center; gap: 8px;
    backdrop-filter: blur(5px); transition: all 0.3s;
}
.btn-glass-outline:hover { background: #fff; color: var(--uk-navy); }

/* Trust Strip */
.trust-strip {
    display: flex; align-items: center; gap: 15px;
    font-size: 0.9rem; color: #94a3b8; font-weight: 500;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}
.trust-strip i { color: var(--uk-flag-red); margin-right: 5px; }
.divider-dot { color: #475569; }

/* --- RIGHT: CARD --- */
.uk-visual-card {
    flex: 1; display: flex; justify-content: flex-end;
}

.edu-flag-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 16px;
    width: 100%; max-width: 400px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
}

.card-flag-top {
    height: 6px; width: 100%;
    background: linear-gradient(90deg, 
        var(--uk-flag-blue) 0%, var(--uk-flag-blue) 40%, 
        var(--uk-flag-red) 40%, var(--uk-flag-red) 100%);
}

.snapshot-header {
    background: #f8f9fa; padding: 20px 25px;
    display: flex; align-items: center; gap: 15px;
    border-bottom: 1px solid #e9ecef;
}

.header-icon-uk { font-size: 2rem; line-height: 1; }
.header-titles h3 { margin: 0; font-size: 1.1rem; color: var(--uk-flag-blue); font-weight: 800; }

.tag-universal {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    color: var(--uk-flag-red); letter-spacing: 0.5px;
    background: rgba(200, 16, 46, 0.1); padding: 2px 8px;
    border-radius: 4px; display: inline-block; margin-top: 4px;
}

.snapshot-body { padding: 25px 25px 15px 25px; }

.uk-benefit-row {
    display: flex; align-items: center; gap: 15px; margin-bottom: 22px;
}

.benefit-icon {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.benefit-icon.blue { background: #eef2ff; color: var(--uk-flag-blue); }
.benefit-icon.red { background: #fef2f2; color: var(--uk-flag-red); }

.benefit-text { display: flex; flex-direction: column; }
.benefit-text strong { font-size: 1rem; color: #1e293b; font-weight: 700; }
.benefit-text span { font-size: 0.85rem; color: #64748b; }

.edu-divider-light { height: 1px; background: #e9ecef; margin: 0 25px; }

/* Footer Elaborating Country */
.snapshot-footer-uk {
    padding: 20px 25px 25px 25px; 
    display: flex; justify-content: center; background: #fff;
    text-align: center;
}
.mini-stat { text-align: center; width: 100%; }
.stat-val-uk { display: block; font-size: 1.5rem; font-weight: 800; color: var(--uk-flag-blue); text-transform: uppercase; }
.stat-lbl-uk { font-size: 0.85rem; color: var(--uk-flag-red); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; margin-top: 5px; display: block;}

/* --- RESPONSIVE HERO --- */
@media (max-width: 900px) {
    .uk-container-pro { flex-direction: column; text-align: center; gap: 40px; }
    .uk-text-content { align-items: center; display: flex; flex-direction: column; }
    .prestige-title { font-size: 2.8rem; }
    .action-row { flex-direction: column; width: 100%; }
    .btn-uk-primary, .btn-glass-outline { width: 100%; justify-content: center; }
    .uk-visual-card { width: 100%; justify-content: center; }
    .uk-flag-watermark { opacity: 0.08; right: -20%; }
}

/* =========================================
   UK NEWSPAPER LAYOUT (BROADSHEET)
   ========================================= */

.uk-news-section {
    padding: 60px 40px;
    background-color: #fdfbf7; 
    font-family: 'Times New Roman', Times, serif; 
    color: #1a1a1a;
    border-top: 5px solid var(--uk-navy);
    border-bottom: 1px solid var(--uk-navy);
}

.uk-news-section h1, 
.uk-news-section h2, 
.uk-news-section h3, 
.uk-news-section h4 {
    font-family: 'Poppins', sans-serif;
}

.uk-news-section p, 
.uk-news-section li, 
.uk-news-section td {
    font-family: 'Poppins', sans-serif; 
    color: #334155;
}

/* --- NEWSPAPER HEADER --- */
.news-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px double var(--uk-navy); 
}

.news-kicker {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    color: var(--uk-flag-red);
    display: block;
    margin-bottom: 10px;
}

.news-headline {
    font-size: 4rem; 
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    color: var(--uk-navy);
    margin: 0 0 15px 0;
}

.news-meta-strip {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--uk-navy);
    border-bottom: 1px solid var(--uk-navy);
    padding: 8px 0;
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- 3-COLUMN GRID --- */
.news-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    position: relative;
}

.news-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
}

.news-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px; top: 0;
    height: 100%; width: 1px;
    background: #cbd5e1;
}

.col-headline {
    font-size: 1.5rem; font-weight: 800;
    color: var(--uk-navy); margin: 0 0 15px 0; line-height: 1.1;
    border-bottom: 2px solid var(--uk-flag-red);
    padding-bottom: 5px; display: inline-block;
}

.news-text {
    font-size: 0.95rem; line-height: 1.7;
    text-align: justify; margin-bottom: 15px;
}

.drop-cap::first-letter {
    float: left; font-size: 3.5rem; line-height: 0.8;
    font-weight: 900; padding-right: 8px; padding-top: 4px;
    color: var(--uk-flag-red);
}

.news-img-frame {
    width: 100%; height: 200px;
    object-fit: cover; border: 1px solid #000;
    padding: 3px; background: #fff; margin-bottom: 10px;
}

.img-caption {
    font-size: 0.75rem; color: #64748b; font-style: italic;
    display: block; margin-bottom: 15px; border-bottom: 1px solid #e2e8f0;
    padding-bottom: 5px;
}

.news-quote-box {
    border-top: 2px solid var(--uk-navy);
    border-bottom: 2px solid var(--uk-navy);
    padding: 15px 0; margin: 20px 0;
    font-size: 1.1rem; font-weight: 700; font-style: italic;
    color: var(--uk-navy); text-align: center; line-height: 1.4;
}

.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li {
    padding: 5px 0; border-bottom: 1px dashed #cbd5e1;
    font-size: 0.9rem; font-weight: 600;
}
.news-list li strong { color: var(--uk-navy); }

.news-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.news-table td {
    border-bottom: 1px solid #cbd5e1;
    padding: 8px 0; font-size: 0.9rem;
}
.news-table tr:last-child td { border: none; }
.tbl-lbl { font-weight: 700; }
.tbl-val { text-align: right; }

@media (max-width: 992px) {
    .news-grid-layout { grid-template-columns: 1fr; gap: 40px; }
    .news-col::after { display: none; } 
    .news-headline { font-size: 2.5rem; }
    .news-meta-strip { flex-direction: column; gap: 5px; text-align: center; }
}

/* =========================================
   UK PROCESS (COMPACT HEIGHT)
   ========================================= */

.uk-process-section-boxed {
    width: 100%;
    padding: 40px 20px; 
    background: var(--uk-navy);
    background-image: linear-gradient(135deg, var(--uk-navy) 0%, #0b1120 100%);
    position: relative; overflow: hidden;
}

.uk-process-section-boxed::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('/study-in-abroad/europe/uk/images/Flag_of_UK.webp');
    background-size: cover; background-position: center;
    opacity: 0.03; pointer-events: none; z-index: 0;
}

.uk-process-section-boxed .uk-container-pro { display: block; margin: 0 auto; }

.uk-process-box {
    width: 100%; background: transparent; padding: 0;
    color: #fff; position: relative; z-index: 2;
}

.process-head-compact {
    text-align: center; margin-bottom: 30px; 
    position: relative; z-index: 2;
}
.process-head-compact h2 {
    font-size: 2.2rem; font-weight: 700; margin-top: 5px; color: #fff;
}

.snake-grid-wrapper {
    position: relative; z-index: 2; padding-bottom: 10px;
}

.snake-row {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
}

.snake-row.bottom-row { margin-top: 40px; justify-content: flex-end; }

.snake-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 15px 10px;
    width: 190px; text-align: center; position: relative;
    transition: transform 0.3s, background 0.3s;
    backdrop-filter: blur(5px);
}

.snake-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px); border-color: var(--uk-flag-red);
}

.snake-num {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--uk-flag-red); color: #fff;
    font-size: 0.7rem; font-weight: 700; padding: 2px 8px;
    border-radius: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.snake-icon {
    font-size: 1.4rem; color: #fff; margin-bottom: 8px;
    height: 40px; width: 40px; margin-left: auto; margin-right: auto;
    background: rgba(255,255,255,0.08); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.snake-card h4 { font-size: 0.95rem; margin: 0 0 4px 0; font-weight: 600; }
.snake-card p { font-size: 0.75rem; color: #cbd5e1; margin: 0; line-height: 1.2; }

.snake-arrow {
    color: rgba(255,255,255,0.2); font-size: 1.5rem;
    flex: 1; display: flex; justify-content: center;
}

.curved-connector {
    position: absolute; right: 50%; top: 100%; width: 2px;
    height: 40px; 
    background: linear-gradient(to bottom, var(--uk-flag-red), rgba(255,255,255,0.1));
}

.finish-card { border-color: var(--uk-flag-red); background: rgba(200, 16, 46, 0.15); }
.snake-spacer { width: 190px; display: none; }

@media (max-width: 900px) {
    .uk-process-section-boxed { padding: 40px 15px; }
    .snake-grid-wrapper { display: flex; flex-direction: column; gap: 15px; }
    .snake-row {
        display: flex !important; flex-wrap: wrap; gap: 10px;
        justify-content: center !important; width: 100%; margin: 0 !important;
    }
    .snake-card {
        width: calc(50% - 5px) !important; max-width: none !important;
        margin: 0 !important; min-height: 120px; padding: 20px 10px;
        display: flex; flex-direction: column; justify-content: center; align-items: center;
    }
    .snake-row.bottom-row { flex-direction: row !important; }
    .snake-row.bottom-row .snake-card:nth-child(5) { order: 1; }
    .snake-row.bottom-row .snake-card:nth-child(3) { order: 2; }
    .snake-row.bottom-row .snake-card:nth-child(1) { order: 3; }
    .snake-arrow, .curved-connector, .snake-spacer { display: none !important; }
    .snake-num { top: -10px; font-size: 0.7rem; padding: 3px 8px; }
    .snake-icon { margin-bottom: 8px; width: 40px; height: 40px; }
    .snake-card h4 { font-size: 0.9rem; margin-bottom: 3px; }
    .snake-card p { font-size: 0.75rem; }
}

/* =========================================
   UK DASHBOARD (NO PAGINATION)
   ========================================= */

.uk-finder-dashboard {
    position: relative;
    padding: 80px 20px;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    color: var(--uk-navy);
    z-index: 1;
}

.uk-finder-dashboard::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('/study-in-abroad/europe/uk/images/UK-Hero.jpg');
    background-size: cover; background-position: center; opacity: 0.15; z-index: -3;
}

.uk-finder-dashboard::after {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(1, 33, 105, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 16, 46, 0.15) 1px, transparent 1px);
    background-size: 40px 40px; z-index: -2; pointer-events: none;
}

.uk-container-stack {
    max-width: 1250px; width: 100%; margin: 0 auto;
    position: relative; z-index: 2;
}

.finder-head-minimal { text-align: center; margin-bottom: 30px; }

.badge-pill-red {
    display: inline-block; background: #fff; color: var(--uk-flag-red);
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 2px; padding: 8px 18px; border-radius: 50px;
    border: 1px solid #e2e8f0; margin-bottom: 15px;
}

.finder-head-minimal h2 {
    font-size: 3rem; color: var(--uk-navy); font-weight: 900;
    margin: 0 0 10px 0; letter-spacing: -1px; line-height: 1;
}

.title-underline {
    width: 70px; height: 6px;
    background: linear-gradient(90deg, var(--uk-flag-red), var(--uk-flag-blue));
    margin: 15px auto 0; border-radius: 10px;
}

/* --- DATA TABLE CARD --- */
.dashboard-table-card {
    background: #ffffff; border-radius: 12px; border: 1px solid #cbd5e1;
    box-shadow: none; overflow: hidden; margin-bottom: 20px;
    display: flex; flex-direction: column; min-height: auto;
}

.table-scroll-wrap {
    width: 100%;
    min-height: 480px; 
    max-height: 600px; 
    overflow-y: auto; overflow-x: auto;
    background: #fff; 
}

.table-scroll-wrap::-webkit-scrollbar { width: 8px; height: 8px; }
.table-scroll-wrap::-webkit-scrollbar-track { background: #f1f5f9; }
.table-scroll-wrap::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.table-scroll-wrap::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.uk-dash-table { width: 100%; border-collapse: collapse; min-width: 900px; }

.uk-dash-table thead th {
    position: sticky; top: 0; z-index: 10;
    background: #f8fafc; padding: 18px 20px;
    text-align: center; font-size: 0.85rem; font-weight: 800;
    color: var(--uk-navy); text-transform: uppercase; letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0; white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.uk-dash-table thead th:nth-child(1),
.uk-dash-table thead th:nth-child(2) { text-align: left; }

.uk-dash-table tbody tr td {
    padding: 18px 20px; border-bottom: 1px solid #f1f5f9;
    vertical-align: middle; text-align: center;
}

.uk-dash-table tbody tr td:nth-child(1),
.uk-dash-table tbody tr td:nth-child(2) { text-align: left; }

.uk-dash-table tbody tr:nth-child(odd) td { background-color: #fff; }
.uk-dash-table tbody tr:nth-child(even) td { background-color: #f8fafc; }

.uni-name { color: var(--uk-navy); font-weight: 700; font-size: 1rem; }
.cell-light { color: #64748b; font-size: 0.95rem; font-weight: 500; }
.cell-bold { font-weight: 700; color: var(--uk-flag-red); font-size: 1rem; }
.stream-badge { background: #f1f5f9; color: var(--uk-navy); padding: 5px 12px; border-radius: 4px; font-size: 0.85rem; font-weight: 600; }

.btn-enquiry {
    background: var(--uk-flag-red); color: #fff; border: none;
    padding: 8px 20px; border-radius: 6px; font-weight: 700;
    font-size: 0.85rem; cursor: pointer; transition: background 0.2s; text-decoration: none;
    display: inline-flex; align-items: center; gap: 5px;
}
.btn-enquiry:hover { background: #a80d25; color: #fff; }

/* =========================================
   MOBILE ACCORDION / DROPDOWN VIEW
   ========================================= */

.mobile-info-message {
    display: none; background: #e0f2fe; border: 1px solid #bae6fd;
    color: #0369a1; padding: 12px 15px; border-radius: 8px;
    margin-bottom: 15px; font-size: 0.85rem; align-items: center; gap: 10px; line-height: 1.4;
}

.mobile-table-view {
    display: none; background: white; width: 100%; border-top: 1px solid #e2e8f0;
}

.mobile-simple-table { width: 100%; border-collapse: collapse; }
.mobile-simple-table thead { background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.mobile-simple-table th {
    padding: 15px; text-align: left; font-weight: 700;
    color: var(--uk-navy); font-size: 0.85rem; text-transform: uppercase;
}

.mobile-col-name { padding-left: 15px; }

.mobile-table-row {
    border-bottom: 1px solid #f1f5f9; transition: background-color 0.2s; cursor: pointer;
}
.mobile-table-row:hover { background-color: #f8fafc; }

.mobile-table-row td { padding: 18px 15px; vertical-align: middle; position: relative; }
.mobile-table-row td.mobile-col-name {
    color: var(--uk-navy); font-weight: 700; font-size: 1rem; 
    display: flex; justify-content: space-between; align-items: center;
}

.dropdown-icon { font-size: 1.2rem; color: var(--uk-flag-red); transition: transform 0.3s; }
.mobile-table-row.active .dropdown-icon { transform: rotate(180deg); }

/* Dropdown Content Row */
.mobile-dropdown-row { display: none; background-color: #f8fafc; }
.mobile-dropdown-row.open { display: table-row; }
.dropdown-inner { padding: 15px; border-bottom: 1px solid #e2e8f0; }

.dd-item { display: flex; justify-content: space-between; margin-bottom: 10px; border-bottom: 1px dashed #cbd5e1; padding-bottom: 5px; }
.dd-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.dd-label { font-weight: 600; color: #64748b; font-size: 0.85rem; }
.dd-value { font-weight: 700; color: var(--uk-navy); font-size: 0.9rem; text-align: right; }
.dd-value.fee { color: var(--uk-flag-red); }

.dd-action { margin-top: 15px; display: flex; justify-content: center; }
.dd-action .btn-enquiry { width: 100%; justify-content: center; padding: 12px; font-size: 1rem; }

@media (max-width: 768px) {
    .table-scroll-wrap { display: none !important; }
    .mobile-table-view { display: block !important; border-radius: 12px; border: 1px solid #e2e8f0; overflow: hidden; }
    .mobile-info-message { display: flex !important; }
    .dashboard-table-card { border: none; background: transparent; box-shadow: none; }
    .finder-head-minimal h2 { font-size: 2.2rem; }
}

/* =========================================
   TABLE UPDATES (For Sr No Column)
   ========================================= */
.uk-dash-table th:nth-child(1),
.uk-dash-table td:nth-child(1) {
    text-align: center;
    color: var(--uk-navy);
    font-weight: 700;
}
.uk-dash-table th:nth-child(2),
.uk-dash-table td:nth-child(2) {
    text-align: left;
}

/* =========================================
   UK TABLE ENQUIRY MODAL (ISOLATED)
   ========================================= */

.btn-uk-table-enq {
    background: var(--uk-flag-red); color: #fff; border: none;
    padding: 8px 20px; border-radius: 6px; font-weight: 700;
    font-size: 0.85rem; cursor: pointer; transition: background 0.2s; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}
.btn-uk-table-enq:hover { background: #a80d25; color: #fff; }

.uk-table-modal {
    display: none; 
    position: fixed; 
    z-index: 99999; 
    left: 0; top: 0; 
    width: 100%; height: 100%; 
    background-color: rgba(1, 33, 105, 0.85);
    align-items: center; 
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.uk-table-modal.show {
    display: flex;
}

.uk-table-modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    animation: ukModalFadeIn 0.3s ease-out;
    font-family: 'Poppins', sans-serif;
}

@keyframes ukModalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.uk-close-modal-btn {
    position: absolute;
    top: 15px; right: 20px;
    color: #94a3b8;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.uk-close-modal-btn:hover { color: var(--uk-flag-red); }

.uk-table-modal-content h3 {
    margin-top: 0; margin-bottom: 20px;
    color: var(--uk-navy);
    font-size: 1.4rem; text-align: center; font-weight: 800;
}

.form-row-eq { margin-bottom: 15px; }

.form-row-eq.split-eq { display: flex; gap: 10px; }
.form-row-eq.split-eq input { width: 50%; }

.uk-table-modal-content input, 
.uk-table-modal-content textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.uk-table-modal-content input[readonly] {
    background-color: #f1f5f9;
    color: var(--uk-navy);
    font-weight: 700;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.uk-table-modal-content input:focus, 
.uk-table-modal-content textarea:focus {
    outline: none;
    border-color: var(--uk-flag-blue);
    box-shadow: 0 0 0 3px rgba(1, 33, 105, 0.1);
}

.uk-table-modal-content textarea { resize: none; }

.btn-submit-eq {
    width: 100%;
    background: var(--uk-flag-red);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit-eq:hover { background: #a80d25; }
.btn-submit-eq:active { transform: scale(0.98); }

@media (max-width: 480px) {
    .form-row-eq.split-eq { flex-direction: column; gap: 15px; }
    .form-row-eq.split-eq input { width: 100%; }
    .uk-table-modal-content { padding: 25px 20px; }
}