/* ==========================================
   AKG Admission Portal - New Theme Override
   ========================================== */

body{
    background:#f4f8fb;
}

/* Header */
header{
    background: linear-gradient(135deg,#0f766e,#1e40af);
    padding:25px 0;
    margin-bottom:30px;
    box-shadow:0 8px 30px rgba(0,0,0,.12);
}

.main-logo img{
    max-height:80px;
}

.top-title{
    color:#fff;
    font-size:22px;
    font-weight:700;
    line-height:1.4;
    text-align:right;
    letter-spacing:.5px;
}

/* Main Content Card */
.white-box{
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 15px 50px rgba(0,0,0,.08);
    border:1px solid #e8eef5;
}

/* Page Title */
.icon-box h4{
    color:#0f766e !important;
    font-size:28px;
    font-weight:700;
    margin-bottom:15px !important;
}

/* Divider */
.white-box hr{
    border-top:1px solid #e6edf5;
    margin:20px 0 30px;
}

/* Accordion Container */
.accordion-item{
    border:none;
    margin-bottom:15px;
    overflow:hidden;
    border-radius:14px;
    box-shadow:0 5px 20px rgba(0,0,0,.06);
}

/* Accordion Heading */
.accordion-button{
    background:#ffffff;
    color:#1f2937;
    font-size:16px;
    font-weight:700;
    padding:18px 22px;
    border:none;
    box-shadow:none !important;
    transition:.3s;
}

.accordion-button:not(.collapsed){
    background:linear-gradient(135deg,#0f766e,#14b8a6);
    color:#fff;
}

.accordion-button:hover{
    /* background:#ecfeff; */
}

.accordion-button:not(.collapsed):hover{
    /* color:#fff; */
}

/* Accordion Content */
.accordion-body{
    background:#fbfdff;
    padding:25px;
    border-top:1px solid #eef3f7;
}

/* Bullet List */
.accordion-body ul{
    padding-left:20px;
}

.accordion-body li{
    margin-bottom:12px;
    line-height:1.8;
    color:#4b5563;
}

/* Highlight Strong Text */
.accordion-body strong{
    color:#0f766e;
}

/* Next Button */
.btn-primary,
.btn-primary:hover{
    background:linear-gradient(135deg,#0f766e,#14b8a6);
    border:none;
    border-radius:50px;
    padding:14px 35px;
    font-weight:700;
    letter-spacing:.5px;
    box-shadow:0 10px 25px rgba(20,184,166,.25);
}

/* Form Fields (other pages) */
.form-control{
    border:1px solid #dbe4ee;
    border-radius:12px;
    min-height:52px;
    box-shadow:none !important;
    transition:.3s;
}

.form-control:focus{
    border-color:#14b8a6;
    box-shadow:0 0 0 4px rgba(20,184,166,.12) !important;
}

/* Select Fields */
select.form-control{
    cursor:pointer;
}

/* Cards */
.card,
.box,
.panel{
    border:none;
    border-radius:18px;
    box-shadow:0 10px 35px rgba(0,0,0,.06);
}

/* Tabs (Other Pages) */
.nav-tabs{
    border:none;
    gap:10px;
}

.nav-tabs .nav-link{
    border:none;
    border-radius:10px;
    background:#eef4f9;
    color:#4b5563;
    padding:12px 20px;
    font-weight:600;
}

.nav-tabs .nav-link.active{
    background:linear-gradient(135deg,#0f766e,#14b8a6);
    color:#fff;
}

/* Tables */
.table th{
    background:#0f766e;
    color:#fff;
    border:none;
}

.table td{
    vertical-align:middle;
}

/* File Upload Areas */
.filepond--root{
    border-radius:14px;
    overflow:hidden;
}

.filepond--panel-root{
    background:#f8fbfd;
    border:2px dashed #14b8a6;
}

/* Footer */
footer{
    background:#0f172a;
    margin-top:50px;
}

/* Responsive */
@media(max-width:768px){

    .top-title{
        text-align:center;
        margin-top:15px !important;
        font-size:18px;
    }

    .white-box{
        padding:20px;
    }

    .icon-box h4{
        font-size:22px;
    }

    .accordion-button{
        font-size:15px;
        padding:15px 18px;
    }
}

/* ==========================================
   Admission Closed Page Fixes
   ========================================== */

body{
    background: linear-gradient(180deg,#f5f9fc,#eef5fb);
    min-height:100vh;
}

/* Main Content Area */
#home{
    padding:40px 0 80px;
}

/* White Card */
.white-box{
    background:#fff;
    border-radius:24px;
    padding:40px;
    box-shadow:0 15px 50px rgba(15,118,110,.08);
    border:1px solid #e5edf4;
}

/* Center Section */
.white-box .row.justify-content-center{
    min-height:350px;
    align-items:center;
}

/* Closed Alert */
.alert-danger{
    background:#fff5f5 !important;
    border:1px solid #fecaca !important;
    color:#b91c1c !important;
    border-radius:18px;
    padding:30px 50px !important;
    font-size:32px;
    font-weight:700;
    text-align:center;
    display:inline-block;
    box-shadow:0 10px 30px rgba(185,28,28,.08);
    margin:0;
}

/* Icon before text */
.alert-danger::before{
    content:"⛔";
    display:block;
    font-size:50px;
    margin-bottom:12px;
}

/* Header */
header{
    background:linear-gradient(135deg,#0f766e,#1e40af);
    padding:20px 0;
    margin-bottom:40px;
}

.top-title.inner{
    top:0;
}

.top-title h1{
    font-size:28px;
    color:#fff;
    font-weight:800;
}

.top-title h2{
    font-size:18px;
    color:#fff;
    line-height:1.5;
}

.top-title p{
    font-size:14px;
    color:rgba(255,255,255,.9);
    margin-top:8px;
}

/* Logo */
.main-logo img{
    max-height: 70px;
}

/* Mobile */
@media(max-width:768px){

    .white-box{
        padding:25px;
    }

    .alert-danger{
        font-size:24px;
        padding:25px !important;
        width:100%;
    }

    .alert-danger::before{
        font-size:42px;
    }

    .top-title{
        text-align:center !important;
        margin-top:15px;
    }

    .top-title h1{
        font-size:22px;
    }

    .top-title h2{
        font-size:15px;
    }
}