/* =====================================================================
   B.COM (HONS.) ADMISSION ENQUIRY — Redesigned Styles
   ===================================================================== */

:root {
    --mcom-navy: #040d4e;
    --mcom-blue: #14259b;
    --mcom-blue-dark: #163b87;
    --mcom-gold: #f2b21b;
    --mcom-gold-dark: #c8860a;
    --mcom-red: #be2030;
    --mcom-text: #1f2937;
    --mcom-muted: #6b7280;
    --mcom-light: #f5f7fb;
    --mcom-white: #ffffff;
    --mcom-border: #e5e9f8;
    --mcom-shadow: 0 10px 30px rgba(4, 13, 78, 0.08);
    --mcom-shadow-lg: 0 16px 40px rgba(4, 13, 78, 0.12);
    --mcom-radius: 18px;
    --mcom-radius-sm: 8px;
    --mcom-transition: 0.25s ease;
    --mcom-font: "Poppins", sans-serif;
}

/* =====================================================================
   HERO / BREADCRUMB
   ===================================================================== */
.mcom-hero-section {
    position: relative;
    background: linear-gradient(135deg, #040d4e 0%, #14259b 60%, #1a3fbd 100%);
    padding: 60px 0 50px;
    overflow: hidden;
}

.mcom-hero-section .mcom-hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.mcom-hero-section .mcom-hero-pattern {
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(242, 178, 27, 0.08);
    pointer-events: none;
}

.mcom-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.mcom-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(242, 178, 27, 0.15);
    border: 1px solid rgba(242, 178, 27, 0.3);
    color: var(--mcom-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 16px;
    font-family: var(--mcom-font);
}

.mcom-hero-badge i { font-size: 14px; }

.mcom-hero-title {
    font-family: var(--mcom-font);
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
}

.mcom-hero-subtitle {
    font-family: var(--mcom-font);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 24px;
    font-weight: 400;
    line-height: 1.6;
}

.mcom-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-family: var(--mcom-font);
}

.mcom-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--mcom-transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mcom-breadcrumb a:hover { color: var(--mcom-gold); }

.mcom-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
}

.mcom-breadcrumb-current {
    color: var(--mcom-gold);
    font-weight: 600;
}

/* =====================================================================
   FORM SECTION
   ===================================================================== */
.mcom-form-section {
    background: var(--mcom-light);
    padding: 0 0 60px;
}

.mcom-form-wrapper {
    max-width: 780px;
    margin: -40px auto 0;
    padding: 0 15px;
    position: relative;
    z-index: 3;
}

/* ── Form Card ── */
.mcom-form-card {
    background: var(--mcom-white);
    border: 1px solid var(--mcom-border);
    border-radius: var(--mcom-radius);
    box-shadow: var(--mcom-shadow-lg);
    overflow: hidden;
}

/* ── Form Header ── */
.mcom-form-header {
    background: linear-gradient(135deg, var(--mcom-navy) 0%, var(--mcom-blue) 100%);
    color: var(--mcom-white);
    padding: 30px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mcom-form-header::before {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.mcom-form-header-icon {
    width: 50px;
    height: 50px;
    background: rgba(242, 178, 27, 0.15);
    border: 1px solid rgba(242, 178, 27, 0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.mcom-form-header-icon i {
    font-size: 20px;
    color: var(--mcom-gold);
}

.mcom-form-header h2 {
    font-family: var(--mcom-font);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.mcom-form-header p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    position: relative;
    z-index: 2;
    font-family: var(--mcom-font);
}

/* ── Alert ── */
.mcom-alert {
    padding: 14px 20px;
    border-radius: var(--mcom-radius-sm);
    margin-bottom: 20px;
    font-size: 13px;
    font-family: var(--mcom-font);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mcom-alert p { margin: 0; }
.mcom-alert > i { font-size: 18px; flex-shrink: 0; }

.mcom-alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-left: 4px solid #10b981;
}

/* ── Form Body ── */
.mcom-form-body {
    padding: 32px 36px;
    font-family: var(--mcom-font);
}

/* ── Form Row ── */
.mcom-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
}

.mcom-form-group {
    flex: 1;
    min-width: 200px;
}

.mcom-form-group.full-width {
    flex: 0 0 100%;
    min-width: 100%;
}

.mcom-form-group.half-width {
    flex: 0 0 calc(50% - 9px);
    min-width: calc(50% - 9px);
}

/* ── Labels ── */
.mcom-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--mcom-text);
    margin-bottom: 6px;
    font-family: var(--mcom-font);
}

.mcom-label .required {
    color: var(--mcom-red);
    margin-left: 2px;
}

/* ── Input Fields ── */
.mcom-input,
.mcom-select,
.mcom-textarea {
    width: 100%;
    padding: 11px 16px;
    font-size: 14px;
    font-family: var(--mcom-font);
    color: var(--mcom-text);
    background: var(--mcom-white);
    border: 1.5px solid var(--mcom-border);
    border-radius: var(--mcom-radius-sm);
    transition: var(--mcom-transition);
    outline: none;
}

.mcom-input:hover,
.mcom-select:hover,
.mcom-textarea:hover {
    border-color: #c5cee8;
}

.mcom-input:focus,
.mcom-select:focus,
.mcom-textarea:focus {
    border-color: var(--mcom-blue);
    background: var(--mcom-white);
    box-shadow: 0 0 0 4px rgba(20, 37, 155, 0.06);
}

.mcom-input::placeholder {
    color: var(--mcom-muted);
    font-weight: 400;
}

.mcom-textarea {
    min-height: 100px;
    resize: vertical;
}

.mcom-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

/* ── Radio Group ── */
.mcom-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 4px;
}

.mcom-radio-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--mcom-light);
    border: 1.5px solid var(--mcom-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mcom-text);
    cursor: pointer;
    transition: var(--mcom-transition);
    font-family: var(--mcom-font);
}

.mcom-radio-label:hover {
    border-color: var(--mcom-blue);
    background: #f0f3ff;
}

.mcom-radio-label input[type="radio"] {
    accent-color: var(--mcom-blue);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.mcom-radio-label:has(input:checked) {
    background: #e9ebff;
    border-color: var(--mcom-blue);
    color: var(--mcom-navy);
}

/* ── Section Title ── */
.mcom-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--mcom-navy);
    margin: 28px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--mcom-border);
    font-family: var(--mcom-font);
}

.mcom-section-title:first-child {
    margin-top: 0;
}

.mcom-section-title::before {
    content: "";
    width: 4px;
    height: 22px;
    background: var(--mcom-gold);
    border-radius: 4px;
    flex-shrink: 0;
}

/* ── Form Footer / Submit ── */
.mcom-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px solid var(--mcom-border);
}

.mcom-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--mcom-font);
    color: var(--mcom-navy);
    background: var(--mcom-gold);
    border: none;
    border-radius: var(--mcom-radius-sm);
    cursor: pointer;
    transition: var(--mcom-transition);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(242, 178, 27, 0.35);
}

.mcom-submit-btn:hover {
    background: var(--mcom-gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(242, 178, 27, 0.45);
}

.mcom-submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 178, 27, 0.3);
}

/* ── Help Card ── */
.mcom-help-card {
    margin-top: 24px;
    padding: 20px 28px;
    background: var(--mcom-white);
    border: 1px solid var(--mcom-border);
    border-radius: var(--mcom-radius);
    box-shadow: var(--mcom-shadow);
    display: flex;
    align-items: center;
    gap: 18px;
}

.mcom-help-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: #e9ebff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mcom-blue);
    font-size: 20px;
}

.mcom-help-content { flex: 1; }

.mcom-help-content h4 {
    margin: 0 0 3px;
    font-size: 14px;
    font-weight: 700;
    color: var(--mcom-navy);
    font-family: var(--mcom-font);
}

.mcom-help-content p {
    margin: 0;
    font-size: 13px;
    color: var(--mcom-muted);
    font-family: var(--mcom-font);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991px) {
    .mcom-hero-section {
        padding: 45px 0 40px;
    }

    .mcom-hero-title {
        font-size: 30px;
    }

    .mcom-form-body {
        padding: 24px 20px;
    }

    .mcom-form-header {
        padding: 24px 20px;
    }
}

@media (max-width: 768px) {
    .mcom-hero-section {
        padding: 35px 0 30px;
    }

    .mcom-hero-title {
        font-size: 24px;
    }

    .mcom-hero-subtitle {
        font-size: 13px;
    }

    .mcom-form-wrapper {
        margin-top: -30px;
        padding: 0 10px;
    }

    .mcom-form-body {
        padding: 20px 16px;
    }

    .mcom-form-header {
        padding: 22px 16px;
    }

    .mcom-form-header h2 {
        font-size: 16px;
    }

    .mcom-form-row {
        gap: 14px;
    }

    .mcom-form-group.half-width {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .mcom-radio-group {
        gap: 8px;
    }

    .mcom-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .mcom-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .mcom-breadcrumb {
        font-size: 11px;
        padding: 8px 14px;
        gap: 6px;
    }

    .mcom-help-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .mcom-hero-title {
        font-size: 20px;
    }

    .mcom-form-body {
        padding: 16px 12px;
    }

    .mcom-input,
    .mcom-select,
    .mcom-textarea {
        padding: 9px 12px;
        font-size: 13px;
    }

    .mcom-hero-badge {
        font-size: 10px;
        padding: 5px 12px;
    }

    .mcom-radio-label {
        padding: 7px 14px;
        font-size: 12px;
    }
}

/* =====================================================================
   LOADER OVERLAY
   ===================================================================== */
.mcom-loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 13, 78, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mcom-loader-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mcom-loader-box {
    text-align: center;
    padding: 40px;
}

.mcom-spinner {
    width: 52px;
    height: 52px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--mcom-gold);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: mcomSpin 0.8s linear infinite;
}

@keyframes mcomSpin {
    to { transform: rotate(360deg); }
}

.mcom-loader-box p {
    font-family: var(--mcom-font);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.mcom-loader-box span {
    font-family: var(--mcom-font);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* =====================================================================
   CHECKBOX GROUP (Alumni Form)
   ===================================================================== */
.mcom-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}

.mcom-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: var(--mcom-light);
    border: 1.5px solid var(--mcom-border);
    border-radius: var(--mcom-radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--mcom-text);
    cursor: pointer;
    transition: var(--mcom-transition);
    font-family: var(--mcom-font);
}

.mcom-checkbox-label:hover {
    border-color: var(--mcom-blue);
    background: #f0f3ff;
}

.mcom-checkbox-label input[type="checkbox"] {
    accent-color: var(--mcom-blue);
    width: 17px;
    height: 17px;
    cursor: pointer;
    flex-shrink: 0;
}

.mcom-checkbox-label:has(input:checked) {
    background: #e9ebff;
    border-color: var(--mcom-blue);
    color: var(--mcom-navy);
    font-weight: 600;
}

/* ── Select Dropdown (shared) ── */
.mcom-select {
    width: 100%;
    padding: 11px 16px;
    font-size: 14px;
    font-family: var(--mcom-font);
    color: var(--mcom-text);
    background: var(--mcom-white);
    border: 1.5px solid var(--mcom-border);
    border-radius: var(--mcom-radius-sm);
    transition: var(--mcom-transition);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.mcom-select:hover {
    border-color: #c5cee8;
}

.mcom-select:focus {
    border-color: var(--mcom-blue);
    background-color: var(--mcom-white);
    box-shadow: 0 0 0 4px rgba(20, 37, 155, 0.06);
}
