/* Custom CSS Variables for Admission Page */
:root {
    --adm-primary: #007791;
    --adm-primary-hover: #005669;
    --adm-secondary: #00a8cc;
    --adm-dark: #2b2d42;
    --adm-light: #f8f9fa;
    --adm-gray: #6c757d;
    --adm-border: #e9ecef;
    --adm-warning: #ffb703;
    --adm-warning-light: #fffbeb;
    --adm-warning-border: #ffe3a8;
    --adm-radius: 12px;
    --adm-shadow: 0 4px 20px rgba(0,0,0,0.05);
    --adm-transition: all 0.3s ease;
}

/* Base Styles */
.adm-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.adm-hero {
    background: linear-gradient(135deg, var(--adm-primary) 0%, #0a4f60 100%);
    color: #ffffff;
    padding: 50px 0 60px 0;
    text-align: right;
    border-bottom: 4px solid var(--adm-secondary);
}

.adm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.adm-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--adm-transition);
}

.adm-breadcrumb a:hover {
    color: var(--adm-secondary);
}

.adm-breadcrumb .adm-divider {
    color: rgba(255, 255, 255, 0.5);
}

.adm-breadcrumb .adm-current {
    color: #e9ecef;
}

.adm-hero-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.adm-hero-content p {
    font-size: 1.1rem;
    opacity: 0.85;
    font-weight: 300;
}

/* Layout Grid */
.adm-body-section {
    padding: 60px 0;
    background-color: #fcfcfc;
}

.adm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-gradient: 992px) {
    .adm-grid {
        grid-template-columns: 8fr 4fr;
    }
}
@media (min-width: 992px) {
    .adm-grid {
        grid-template-columns: 8fr 4fr;
    }
}

/* Content Cards */
.adm-card {
    background: #ffffff;
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--adm-shadow);
    transition: var(--adm-transition);
}

.adm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.adm-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid var(--adm-border);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.adm-header-icon {
    font-size: 1.8rem;
    color: var(--adm-primary);
}

.adm-card-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: var(--adm-dark);
}

.adm-intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 25px;
}

/* Checklist Styling */
.adm-doc-section h3 {
    font-size: 1.15rem;
    color: var(--adm-primary);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.adm-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.adm-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--adm-dark);
}

.adm-checklist li i {
    color: #10b981;
    font-size: 1.2rem;
}

/* Warning Card Variation */
.adm-warning-card {
    border-right: 5px solid var(--adm-warning);
    background-color: var(--adm-warning-light);
    border-color: var(--adm-warning-border) var(--adm-warning-border) var(--adm-warning-border) var(--adm-warning);
}

.adm-warning-card .adm-header-icon {
    color: #d97706;
}

.adm-warning-text {
    font-weight: 600;
    color: #b45309;
}

.adm-bullet-list {
    padding-right: 20px;
    margin-bottom: 20px;
}

.adm-bullet-list li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #78350f;
    position: relative;
    list-style-type: square;
}

.adm-alert-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #ffffff;
    border: 1px solid var(--adm-warning-border);
    padding: 15px;
    border-radius: 8px;
    color: #451a03;
    font-size: 0.95rem;
    line-height: 1.6;
}

.adm-alert-notice i {
    color: #d97706;
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Tips Grid */
.adm-tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}

@media (min-width: 768px) {
    .adm-tips-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.adm-tip-item {
    background-color: #fafbfc;
    border: 1px solid var(--adm-border);
    padding: 20px;
    border-radius: 8px;
    position: relative;
    padding-top: 35px;
}

.adm-tip-num {
    position: absolute;
    top: -12px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: var(--adm-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 3px 6px rgba(0,119,145,0.2);
}

.adm-tip-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--adm-primary);
}

.adm-tip-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.adm-action-box {
    margin-top: 30px;
    padding: 20px;
    background: #f0fdfa;
    border-right: 4px solid #14b8a6;
    border-radius: 8px;
    color: #0f766e;
    font-weight: 500;
    line-height: 1.8;
}

.adm-action-box i {
    margin-left: 5px;
    font-size: 1.1rem;
}

/* Sidebar Styles */
.adm-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    box-shadow: var(--adm-shadow);
    position: sticky;
    top: 30px;
    overflow: hidden;
}

.adm-sidebar-header {
    background-color: var(--adm-primary);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.adm-sidebar-header i {
    font-size: 1.4rem;
}

.adm-sidebar-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.adm-sidebar-body {
    padding: 25px;
}

.adm-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 15px;
}

.adm-label {
    color: var(--adm-gray);
    font-size: 0.95rem;
}

.adm-value {
    color: var(--adm-dark);
    font-weight: 600;
}

.adm-divider-line {
    border: none;
    border-top: 1px dashed var(--adm-border);
    margin: 20px 0;
}

.adm-phone-block {
    margin-bottom: 20px;
}

.adm-phone-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.adm-phone-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--adm-dark);
    text-decoration: none;
    font-weight: 600;
    direction: ltr;
    transition: var(--adm-transition);
}

.adm-phone-btn i {
    color: var(--adm-primary);
    font-size: 1.05rem;
    transition: var(--adm-transition);
}

.adm-phone-btn:hover {
    background: var(--adm-primary);
    color: white;
    border-color: var(--adm-primary);
}

.adm-phone-btn:hover i {
    color: white;
}

.adm-extension-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.adm-ext-badge {
    background-color: var(--adm-secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Helper Utilities */
.adm-mt-4 {
    margin-top: 24px;
}

/* =====================================
   ADMISSION EXTENSION BLOCK - MOBILE FIX
===================================== */

@media (max-width: 480px) {
    .adm-extension-block {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 6px;
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
    }

    .adm-extension-block .adm-label {
        min-width: 0;
        font-size: 0.78rem;
        line-height: 1.5;
        white-space: nowrap;
    }

    .adm-ext-badge {
        flex-shrink: 0;
        padding: 4px 8px;
        font-size: 0.76rem;
        white-space: nowrap;
    }

    .adm-ext-badge i {
        font-size: 0.78rem;
    }
}
