* {
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-size: 1em;
    font-family: 'Kumbh Sans', sans-serif;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --primary: #02d0ff;
    --primary-light: #4ddeff;
    --primary-dark: #0191b2;
    --secondary: #22b9d3;
    --secondary-light: #64cee0;
    --secondary-dark: #178193;
    --accent: #ff3001;
    --gray-light: #f0f0f0;
    --gray: #808080;
    --gray-dark: #333333;
    --dark-header: #0f385a;
    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", Ubuntu, Cantarell, sans-serif;
    --bs-primary: var(--primary);
    --bs-primary-rgb: 2, 208, 255;
    --bs-secondary: var(--secondary);
    --bs-secondary-rgb: 34, 185, 211;
    --bs-warning: var(--accent);
    --bs-warning-rgb: 255, 48, 1;
}

html, body {
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    height: 100%;
     
}

html {
    overflow-y: auto; /* Allows scrollbar only when needed */
}
body {
    overflow-x: hidden; /* Prevents horizontal scrollbar from the padding */
}
body {
    background-color: var(--gray-light);
    color: var(--gray-dark);
}

.container-fluid {
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.g-0 {
    margin: 0;
}

.col-md-6 {
    flex: 0 0 auto;
    width: 50%;
}

.p-0 {
    padding: 0 !important;
}

.left-panel {
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&h=900') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.left-content {
    z-index: 2;
    padding: 30px;
    max-width: 80%;
    animation: fadeInUp 1.2s ease-out;
}

.left-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.left-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.right-panel {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black), var(--dark-header));
}

.reset-card {
    width: 85%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    padding: 40px 30px;
    animation: fadeIn 1.2s ease-out;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    color: var(--white);
}

.reset-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.reset-card h2 {
    color: var(--white);
    font-weight: bold;
    margin-bottom: 10px;
}

.reset-card p.text-muted {
    color: var(--white);
    font-size: 1.1rem;
}

.register-card {
    width: 85%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    padding: 40px 30px;
    animation: fadeIn 1.2s ease-out;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    color: var(--white);
}

.register-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.register-card h2 {
    color: var(--white);
    font-weight: bold;
    margin-bottom: 10px;
}

.register-card p.text-muted {
    color: var(--white);
    font-size: 1.1rem;
}

.login-card {
    width: 85%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 50px 40px;
    animation: fadeIn 1.2s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--white);
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.login-card a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.login-card a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.login-card #showPass {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.login-card #showPass:hover {
    color: var(--white);
}

.hero {
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&h=900') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    animation: pulse 2s infinite;
}

.pricing-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-label {
    color: var(--white);
    font-weight: 500;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 14px 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    font-size: 1rem;
    width: 100%;
}

.position-relative .form-control {
    padding-right: 50px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
    transition: opacity 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.25);
    outline: none;
    color: var(--white);
}

.form-control:focus::placeholder {
    opacity: 0.4;
}

#passwordHelp {
    display: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
    opacity: 0.9;
}

.g-recaptcha {
    margin-bottom: 20px;
}

.form-text {
    color: var(--white);
}

.text-danger {
    color: var(--accent) !important;
}

.text-success {
    color: var(--secondary-light) !important;
}

.btn-close-white {
    filter: invert(1);
}

.modal-content {
    background: rgba(15, 56, 90, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
}

.modal-header, .modal-footer {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
}

.bg-gradient-primary {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-light));
}

.bg-gradient-secondary {
    background: linear-gradient(45deg, var(--secondary-dark), var(--secondary-light));
}

.bg-gradient-gold {
    background: linear-gradient(45deg, var(--accent), var(--accent));
}

.bg-dark-header {
    background-color: var(--dark-header) !important;
}

footer {
    background-color: var(--dark-header);
    color: white;
}

#dynamic-iframe {
    display: none;
    width: 100%;
    border: none;
    margin: 0;
}

#main-content {
    margin: 0;
}

.w-100 {
    width: 100%;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

.top-50 {
    top: 50% !important;
}

.end-0 {
    right: 0 !important;
}

.translate-middle-y {
    transform: translateY(-50%) !important;
}

.me-4 {
    margin-right: 1.5rem !important;
}

.text-muted {
    color: var(--gray) !important;
}

.text-center {
    text-align: center !important;
}

.fw-bold {
    font-weight: bold !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.text-primary {
    color: var(--primary) !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-check-label {
    color: var(--white);
    font-size: 0.9rem;
}

.logo-wrapper {
    margin-bottom: 2rem;
}

.logo-img {
    width: 160px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.fas.fa-envelope {
    color: rgba(255, 255, 255, 0.6);
}

#status-container {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    z-index: 999999;
    pointer-events: none;
}

.status-title {
    font-weight: 700;
}

.status-message {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.status-message a, .status-message label {
    color: #FFF;
}

.status-message a:hover {
    color: #CCC;
    text-decoration: none;
}

.status-close-button {
    position: relative;
    right: -.3em;
    top: -.3em;
    float: right;
    font-size: 20px;
    font-weight: 700;
    color: #FFF;
    -webkit-text-shadow: 0 1px 0 #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: .8;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
    filter: alpha(opacity=70);
    line-height: 1;
}

.status-close-button:focus, .status-close-button:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .5;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
    filter: alpha(opacity=40);
}

.rtl .status-close-button {
    left: -.3em;
    float: left;
    right: .3em;
}

button.status-close-button {
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
}

.status-top-right {
    top: 12px;
    right: 12px;
}

#status-container > div {
    position: relative;
    pointer-events: auto;
    overflow: hidden;
    margin: 0 0 6px;
    padding: 15px 15px 15px 15px;
    width: 350px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-position: 15px center;
    background-repeat: no-repeat;
    -moz-box-shadow: 0 0 12px #999;
    -webkit-box-shadow: 0 0 12px #999;
    box-shadow: 0 0 12px #999;
    color: #FFF;
    opacity: 1.0;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
    filter: alpha(opacity=40);
}

.status-success {
    background-color: var(--dark-header);
}

.status-error {
    background-color: #d4383a;
}

.status-info {
    background-color: var(--dark-header);
}

.status-warning {
    background-color: #cc4b0c;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 767px) {
    .row {
        flex-direction: column;
    }
    .col-md-6 {
        width: 100%;
    }
    .left-panel {
        height: 30vh;
    }
    .left-content {
        padding: 20px;
    }
    .left-content h1 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .left-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    .right-panel {
        height: auto;
        padding: 40px 15px;
    }
    .reset-card {
        width: 95%;
        padding: 30px 20px;
    }
    .reset-card h2 {
        font-size: 1.3rem;
    }
    .reset-card p {
        font-size: 0.9rem;
    }
    .register-card {
        width: 95%;
        padding: 30px 20px;
    }
    .register-card h2 {
        font-size: 1.3rem;
    }
    .register-card p {
        font-size: 0.9rem;
    }
    .login-card {
        width: 90%;
        max-width: none;
        padding: 30px 20px;
    }
    .form-label {
        font-size: 0.8rem;
    }
    .form-control {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    .btn-primary {
        padding: 12px;
        font-size: 0.95rem;
    }
    .logo-img {
        width: 140px;
    }
    .mb-4.d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .mb-4.d-flex .form-check {
        margin-bottom: 0;
    }
    .mb-4.d-flex > a {
        align-self: flex-start;
    }
}