﻿/* ========= ADMISSION MODAL UNIQUE STYLING ========== */
.adm-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    animation: fadeIn 0.3s ease-out;
}

/* Modal Box */
.adm-modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    width: 95%;
    max-width: 450px;
    margin: 60px auto;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.35s ease-out;
    border-top: 5px solid #71296D;
}

.adm-modal-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 20px;
    color: #71296D;
    font-weight: 700;
}

/* Close Icon */
.adm-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 24px;
    cursor: pointer;
    color: #444;
    transition: 0.2s ease;
}

    .adm-modal-close:hover {
        color: #71296D;
        transform: scale(1.1);
    }

/* Form Styling */
.adm-form-group {
    margin-bottom: 18px;
}

.adm-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.adm-form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.25s ease;
    background: #fafafa;
}

    .adm-form-control:focus {
        border-color: #483F76;
        background: #fff;
        box-shadow: 0 0 0 2px rgba(214, 51, 132, 0.25);
        outline: none;
    }

.adm-textarea {
    height: 100px;
    resize: none;
}

/* Button */
.adm-btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #483F76, #71296D);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s ease;
}

    .adm-btn-primary:hover {
        background: linear-gradient(135deg, #71296D, #483F76);
        transform: translateY(-2px);
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .adm-modal-content {
        padding: 25px 20px;
        margin-top: 40px;
        overflow: auto;
        height: 80vh;
    }
}

/* ---------- TWO COLUMN GRID ---------- */
.adm-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 20px;
    margin-bottom: 18px;
}

.adm-col {
    display: flex;
    flex-direction: column;
}

.adm-row-full {
    margin-bottom: 18px;
}

/* Mobile view → 1 column */
@media (max-width: 600px) {
    .adm-row {
        grid-template-columns: 1fr;
    }
}
