
@import url('site.css');
* {
    box-sizing: border-box;
}

:root {
    --primary-color: #b249ad;
    --primary-light: #d47ed0;
    --primary-dark: #8a3a87;
    --secondary-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    min-height: 100vh;
}

.header-top {
    background-color: #94018f;
    color: white;
    padding: 10px 0;
    font-size: 14px;
    width: 100%;
    flex-shrink: 0;
}

.logo {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

/* Keep logo & text always side-by-side */
.header-top .d-flex {
    flex-wrap: nowrap;
}

.institute-name {
    color: #94018f;
}

    .institute-name h1 {
        font-size: 24px;
        font-weight: bold;
        margin: 0;
    }

    .institute-name .subtitle {
        font-size: 14px;
        margin: 0;
        color: #333;
    }

.navbar-custom {
    background-color: #c0c0c0 !important;
    padding: 0;
    width: 100%;
    flex-shrink: 0;
}

    .navbar-custom .navbar-nav .nav-link {
        color: black !important;
        padding: 15px 25px;
        font-weight: 500;
        font-size: 15px;
        transition: all 0.3s ease;
    }

        .navbar-custom .navbar-nav .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }

.container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
}

main {
    flex: 1 0 auto;
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.content-section {
    padding: 30px 0;
    width: 100%;
}

.main-heading {
    color: #94018f;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.sub-heading {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

.section-title {
    color: #94018f;
    font-size: 22px;
    font-weight: bold;
    margin: 25px 0 15px 0;
}

.subsection-title {
    color: #94018f;
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 15px 0;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
    width: 100%;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-label {
    font-weight: bold;
    color: #94018f;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-primary-custom {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-primary-custom:hover {
        background: var(--primary-dark);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(178, 73, 173, 0.3);
    }

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-outline-custom:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }


.footer {
    background-color: #94018f;
    color: white;
    padding: 20px 0;
    font-size: 12px;
    width: 100%;
    flex-shrink: 0;
}

.footer-content {
    text-align: center;
    line-height: 1.6;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    hyphens: auto;
    margin: 0;
    padding: 0;
}

.footer {
    position: relative !important;
}
/* Remove this - it was breaking layout */
@media (max-width: 768px) {
    .logo {
        height: 50px;
        width: 50px;
    }

    .institute-name h1 {
        font-size: 20px;
    }

    .institute-name .subtitle {
        font-size: 12px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-primary-custom, .btn-outline-custom {
        width: 100%;
    }

    .mobileHide {
        display: none;
    }
}

@media (max-width: 576px) {
    .header-top {
        font-size: 13px;
    }

    .logo {
        height: 50px;
        width: 50px;
    }

    .footer {
        padding: 15px 0;
    }

        .footer .container {
            padding: 0 10px;
        }

    .navbar-custom .navbar-nav .nav-link {
        padding: 10px 15px;
        font-size: 13px;
    }

    .mobileHide {
        display: none;
    }
}

@media (max-width: 400px) {
    .footer-content {
        font-size: 10px;
        line-height: 1.4;
    }

    .header-top {
        font-size: 12px;
        padding: 8px 0;
    }

    .navbar-custom .navbar-nav .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }

    .footer .container {
        padding: 0 8px;
    }

    .mobileHide {
        display: none;
    }
}

@media (max-width: 320px) {
    .footer-content {
        font-size: 9px;
        line-height: 1.3;
    }

    .mobileHide {
        display: none;
    }
}

/* Ensure no horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/*/////////////////////////////////////////////////////////////////////////////////*/

.provisional-badge {
    margin: 10px 0 0 10px;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: var(--card-shadow);
    text-align: center;
    animation: blink 1.2s infinite;
    border: 2px solid var(--primary-light);
    transition: var(--transition);
}

@keyframes blink {
    0% {
        opacity: 1;
        box-shadow: 0 0 10px var(--primary-light);
    }

    20% {
        opacity: 0.4;
        box-shadow: 0 0 20px var(--primary-dark);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 10px var(--primary-light);
    }
}

/*///////////////////////////////////// RESULT CSS//////////////////////////////////////////////////*/


/* === YOUR EXACT THEME VARIABLES & GLOBAL STYLES (preserved) === */
:root {
    --primary-color: #b249ad;
    --primary-light: #d47ed0;
    --primary-dark: #8a3a87;
    --secondary-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-top {
    background-color: #94018f;
    color: white;
    padding: 10px 0;
    width: 100%;
    flex-shrink: 0;
}

.logo {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.institute-name .main-title {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.institute-name .small {
    font-size: 0.9rem;
}

.navbar-custom {
    background-color: #c0c0c0 !important;
    padding: 0;
    flex-shrink: 0;
}

    .navbar-custom .navbar-nav .nav-link {
        color: black !important;
        padding: 12px 20px;
        font-weight: 500;
    }

        .navbar-custom .navbar-nav .nav-link:hover {
            background-color: rgba(255,255,255,0.15);
        }

/* Home button style */
.btn-home {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.5rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px solid transparent;
}

    .btn-home:hover {
        background: var(--primary-dark);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(178, 73, 173, 0.3);
        text-decoration: none;
    }

.main-wrapper {
    flex: 1 0 auto;
    width: 100%;
}

/* Compact Form Card - more professional square corners */
.form-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    margin: 1rem 0 0.5rem;
    border: 1px solid var(--border-color);
}

.form-title {
    color: var(--primary-dark);
    font-weight: 700;
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 0.1rem;
}

.form-session {
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    background: #f0e4f0;
    display: inline-block;
    padding: 0.3rem 2rem;
    border-radius: 40px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.input-group-modern {
    margin-bottom: 1rem;
}

    .input-group-modern label {
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 0.2rem;
        display: block;
        font-size: 0.9rem;
    }

    .input-group-modern input {
        width: 100%;
        padding: 0.7rem 1.2rem;
        border: 2px solid #e9d0e9;
        border-radius: 8px; /* Less round, more professional */
        font-size: 0.95rem;
        transition: var(--transition);
        background: white;
    }

        .input-group-modern input:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 4px rgba(178,73,173,0.2);
        }

        .input-group-modern input.error {
            border-color: #dc3545;
            background-color: #fff8f8;
        }

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-submit, .btn-reset {
    padding: 0.6rem 2.2rem;
    border: none;
    border-radius: 8px; /* Less round */
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    min-width: 130px;
    cursor: pointer;
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(178,73,173,0.4);
}

    .btn-submit:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

.btn-reset {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

    .btn-reset:hover {
        background: var(--primary-light);
        color: white;
        border-color: var(--primary-light);
    }

/* Professional Result Card - 50-50 split in each row */
.result-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.result-header {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    font-size: 1.2rem;
}

.result-body {
    padding: 1rem 1.5rem;
    background: white;
}

/* 50-50 split rows */
.result-row {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-color);
}

    .result-row:last-child {
        border-bottom: none;
    }

.result-label {
    flex: 0 0 50%; /* 50% width */
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-right: 1rem;
}

.result-value {
    flex: 0 0 50%; /* 50% width */
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.result-status {
    background: #f0e4f0;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-color);
}



/* Disclaimer Styling */
.disclaimer-section {
    background: #fdf3e6;
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0 2rem;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
    border: 1px solid #f0d9f0;
}

.disclaimer-title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.validation-alert {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    padding-left: 0.5rem;
    font-weight: 500;
}


.session-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 0.4rem 2rem;
    border-radius: 40px;
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: var(--card-shadow);
}

.toast-like-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-left: 6px solid var(--primary-color);
    box-shadow: var(--card-shadow);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--primary-light);
}

    .toast-like-alert.show {
        display: flex;
    }

/* Responsive */
@media (max-width: 576px) {
    .form-card {
        padding: 1rem;
    }

    .form-title {
        font-size: 1.4rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-submit, .btn-reset, .btn-home {
        width: 100%;
    }

    .result-body {
        padding: 0.8rem;
    }

    .result-label {
        font-size: 0.9rem;
    }

    .result-value {
        font-size: 0.9rem;
    }
}


.toast-like-alert {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-left: 6px solid var(--primary-color, #b249ad);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    z-index: 9999;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    border: 1px solid var(--primary-light, #d47ed0);
}

    .toast-like-alert.show {
        display: flex;
    }