/*=====================================================
EDG School - Admissions System Styles
=======================================================*/

/* Admissions Page Styles */
.admissions-area {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.admissions-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    opacity: 0.03;
    z-index: 1;
}

.admissions-header {
    position: relative;
    z-index: 2;
}

.admissions-header .site-title-tagline {
    background: linear-gradient(135deg, var(--theme-color), var(--theme-color2));
    color: var(--color-white);
    padding: 10px 25px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(17, 110, 99, 0.3);
}

.admissions-header .site-title {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 20px;
    line-height: 1.2;
}

.admissions-header .site-title span {
    color: var(--theme-color);
}

.year-highlight {
    background: linear-gradient(135deg, var(--theme-color2), #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admissions-intro {
    font-size: 18px;
    color: var(--body-text-color);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Admission Stats */
.admission-stats {
    margin: 40px 0;
}

.stat-item {
    background: var(--color-white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--theme-color-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--theme-color);
}

.stat-number {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--theme-color);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--body-text-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Programs Container */
.programs-container {
    margin-top: 60px;
}

/* Program Pole */
.program-pole {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid rgba(17, 110, 99, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-pole:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.pole-header {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    color: var(--color-white);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.pole-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.pole-icon i {
    font-size: 36px;
    color: var(--color-white);
}

.pole-info h2 {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-white);
}

.pole-description {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

/* Programs Table */
.programs-table-wrapper {
    padding: 0;
    overflow-x: auto;
}

.programs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
}

.programs-table thead {
    background: var(--theme-bg-light);
}

.programs-table th {
    padding: 20px 25px;
    text-align: left;
    font-weight: 600;
    color: var(--theme-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--theme-color-light);
}

.programs-table td {
    padding: 25px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.programs-table tbody tr {
    transition: background-color 0.3s ease;
}

.programs-table tbody tr:hover {
    background: var(--theme-color-light);
}

.program-info h4 {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 5px;
}

.program-subtitle {
    font-size: 14px;
    color: var(--body-text-color);
    font-style: italic;
}

/* Level Badges */
.level-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-bts {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #1976d220;
}

.level-dut {
    background: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #7b1fa220;
}

.level-dts {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #2e7d3220;
}

.level-pro {
    background: #fff3e0;
    color: #f57c00;
    border: 1px solid #f57c0020;
}

/* Deadline Cell */
.deadline-cell {
    text-align: center;
}

.deadline-date {
    display: block;
    font-weight: 600;
    color: #d32f2f;
    font-size: 14px;
}

.deadline-time {
    color: var(--body-text-color);
    font-size: 12px;
}

/* Apply Button */
.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--theme-color), var(--theme-color2));
    color: var(--color-white);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(17, 110, 99, 0.3);
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 110, 99, 0.4);
    color: var(--color-white);
    text-decoration: none;
}

.apply-btn i {
    font-size: 13px;
}

/* Additional Information Section */
.admission-info-section {
    background: var(--color-white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 60px;
}

.info-card {
    text-align: center;
    padding: 30px 20px;
    height: 100%;
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--theme-color-light), rgba(253, 163, 27, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid var(--theme-color-light);
}

.info-icon i {
    font-size: 32px;
    color: var(--theme-color);
}

.info-card h3 {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 15px;
}

.info-card p {
    color: var(--body-text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.info-link {
    color: var(--theme-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.info-link:hover {
    color: var(--theme-color2);
    text-decoration: none;
    transform: translateX(5px);
}

/* Admission Contact Section */
.admission-contact-section {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    color: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(17, 110, 99, 0.3);
}

.admission-contact-section h3 {
    color: var(--color-white);
    font-family: var(--heading-font);
    font-size: 28px;
}

.admission-contact-section p {
    opacity: 0.9;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-item i {
    font-size: 20px;
    opacity: 0.8;
    width: 24px;
}

/* Program Application Page Styles */
.program-application-area {
    background: #f8f9fa;
}

.program-info-header {
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(17, 110, 99, 0.1);
}

.program-badge-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.program-level-badge,
.program-pole-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-level-badge {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #1976d220;
}

.program-pole-badge {
    background: var(--theme-color-light);
    color: var(--theme-color);
    border: 1px solid var(--theme-color);
}

.program-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 10px;
    line-height: 1.2;
}

.program-subtitle {
    font-size: 18px;
    color: var(--body-text-color);
    margin-bottom: 25px;
    font-style: italic;
}

.program-details-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.detail-item i {
    color: var(--theme-color);
    font-size: 18px;
}

.program-visual {
    text-align: center;
}

.program-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--theme-color-light), rgba(253, 163, 27, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid var(--theme-color);
}

.program-icon-large i {
    font-size: 48px;
    color: var(--theme-color);
}

/* Application Form */
.application-form-container {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    color: var(--color-white);
    padding: 30px 40px;
    text-align: center;
}

.form-header h2 {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.form-header p {
    opacity: 0.9;
    margin: 0;
    font-size: 16px;
}

.program-application-form {
    padding: 40px;
}

/* Form Sections */
.form-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--theme-color);
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--theme-color-light);
}

.section-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--theme-color), var(--theme-color2));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.form-section-title i {
    color: var(--theme-color2);
    font-size: 28px;
}

/* Form Controls */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3436;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--body-font);
    transition: all 0.3s ease;
    background: var(--color-white);
}

.form-control:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px var(--theme-color-light);
    outline: none;
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 45px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* File Upload Styles */
.form-control-file {
    width: 100%;
    padding: 15px;
    border: 2px dashed #e0e6ed;
    border-radius: 10px;
    background: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-control-file:hover {
    border-color: var(--theme-color);
    background: var(--theme-color-light);
}

.form-text {
    font-size: 13px;
    color: var(--body-text-color);
    margin-top: 5px;
    display: block;
}

/* Upload Requirements */
.upload-requirements {
    background: var(--theme-color-light);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--theme-color);
}

.upload-requirements h4 {
    color: var(--theme-color);
    font-family: var(--heading-font);
    font-size: 18px;
    margin-bottom: 15px;
}

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

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 15px;
}

.requirements-list i {
    color: var(--theme-color);
    font-size: 16px;
    flex-shrink: 0;
}

/* Form Check Group */
.form-check-group {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e0e6ed;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--color-white);
    border-radius: 10px;
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
}

.form-check:hover {
    border-color: var(--theme-color);
    background: var(--theme-color-light);
}

.form-check:last-child {
    margin-bottom: 0;
}

.form-check-input {
    margin: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--theme-color);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-check-input:checked {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.form-check-label {
    font-size: 15px;
    color: #2d3436;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.5;
}

/* Form Submit */
.form-submit {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--theme-color-light), rgba(253, 163, 27, 0.1));
    border-radius: 15px;
    margin-top: 40px;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(17, 110, 99, 0.3);
}

.form-note {
    color: var(--body-text-color);
    font-style: italic;
    margin-top: 20px;
}

.form-note i {
    color: var(--theme-color);
    margin-right: 8px;
}

/* Application Sidebar */
.application-sidebar {
    position: sticky;
    top: 30px;
}

.sidebar-widget {
    background: var(--color-white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(17, 110, 99, 0.1);
}

.sidebar-widget h3 {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Program Summary */
.program-summary-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: var(--color-white);
    border-radius: 8px;
    border-left: 4px solid var(--theme-color);
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item i {
    color: var(--theme-color);
    font-size: 18px;
    flex-shrink: 0;
}

.summary-item strong {
    display: block;
    color: var(--theme-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item span {
    color: #2d3436;
    font-size: 15px;
    font-weight: 500;
}

/* Help Box */
.help-box {
    background: linear-gradient(135deg, var(--theme-color-light), rgba(253, 163, 27, 0.1));
    border-left: 5px solid var(--theme-color);
}

.help-contacts {
    margin: 20px 0;
}

.help-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.help-item i {
    color: var(--theme-color);
    width: 16px;
}

.help-item a {
    color: var(--theme-color);
    text-decoration: none;
    font-weight: 500;
}

.help-item a:hover {
    text-decoration: underline;
}

.help-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--theme-color);
    color: var(--color-white);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.help-btn:hover {
    background: var(--theme-color2);
    color: var(--color-white);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Process Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--theme-color), var(--theme-color2));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -22px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: #e0e6ed;
    border: 3px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px #e0e6ed;
}

.timeline-item.active .timeline-dot {
    background: var(--theme-color);
    box-shadow: 0 0 0 3px var(--theme-color-light);
}

.timeline-content h4 {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 5px;
}

.timeline-content span {
    font-size: 13px;
    color: var(--body-text-color);
}

.timeline-item.active .timeline-content h4 {
    color: var(--theme-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .programs-table-wrapper {
        overflow-x: scroll;
    }
    
    .programs-table {
        min-width: 800px;
    }
}

@media (max-width: 768px) {
    .admissions-header .site-title {
        font-size: 2.2rem;
    }
    
    .program-details-quick {
        flex-direction: column;
        gap: 15px;
    }
    
    .program-info-header {
        padding: 30px 20px;
    }
    
    .program-title {
        font-size: 2rem;
    }
    
    .application-form-container {
        margin-bottom: 40px;
    }
    
    .program-application-form {
        padding: 30px 20px;
    }
    
    .form-section-title {
        font-size: 20px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .section-number {
        order: -1;
    }
    
    .admission-info-section {
        padding: 40px 20px;
    }
    
    .admission-contact-section {
        padding: 30px 20px;
    }
    
    .contact-details {
        margin-top: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
    
    .pole-header {
        padding: 20px;
        text-align: center;
        flex-direction: column;
    }
    
    .pole-info h2 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .admissions-header .site-title {
        font-size: 1.8rem;
    }
    
    .program-badge-group {
        justify-content: center;
    }
    
    .programs-table th,
    .programs-table td {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .apply-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .form-header {
        padding: 25px 20px;
    }
    
    .form-header h2 {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .application-sidebar {
        margin-top: 30px;
        position: static;
    }
}

/* Loading States */
.theme-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.fa-spinner.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}