/* ==================== ROOT VARIABLES — YOUR EXACT LIGHT THEME ==================== */
:root {
    /* Core Background & Text */
    --bg: #fefbf6;
    --text: #000000;
    --text-light: #333333;

    /* Primary Brand Color */
    --primary: #42ace0;
    --primary-hover: #3a9bd1;
    --primary-light: #82c1e0;

    /* Card & UI */
    --card-bg: #fefbf6;
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --border: #e0e0e0;
    --input-bg: #e6f2f7;
    --input-border: #d0e8f0;
    --input-focus: #42ace0;

    /* Success & Accents */
    --success-green: #87ea55;
    --border-radius: 10px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== GLOBAL ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plain', 'Nunito', -apple-system, sans-serif;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
}

/* ==================== MAIN CARD ==================== */
.login-container {
    width: 100%;
    max-width: 1024px;
    padding: 32px;
}

.login-card {
    position: relative;
    display: flex;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: var(--card-bg);
}


/* ==================== RIGHT SIDE – LOGIN ==================== */
.right-side {
    flex: 1;
    padding: 0px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: var(--card-bg);
}

.form-wrapper {
    width: 100%;
    max-width: 420px;
}

.form-wrapper h1 {
    font-family: 'Khand', sans-serif;
    font-size: 32px;
    letter-spacing: -1.5px;
    color: var(--text);
    background: linear-gradient(135deg, #42ace0, #82c1e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 56px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

/* Premium Glassmorphic Inputs */
.input-field {
    position: relative;
    margin-bottom: 28px;
}

.input-field input {
    width: 100%;
    padding: 10px 12px;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: var(--border-radius);
    color: var(--text);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
    font-family: Plain;
}

.input-field input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.input-field input:focus {
    background: var(--card-bg);
    box-shadow: 0 0 0 6px rgba(66, 172, 224, 0.18);
    transform: translateY(-2px);
}

.password-wrapper {
    position: relative;
}

.toggle-pass {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Primary Button */
.signin-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: Nunito;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 12px;
}

.signin-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}


/* ==================== LEFT SIDE – WELCOME ==================== */
.left-side {
    flex: 1.15;
    padding: 0px 30px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(66, 171, 224, 0.133), rgba(130, 193, 224, 0.138));
}

.welcome-content h2 {
    font-family: 'Khand', sans-serif;
    font-size: 45px;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text);
    margin-left: 30px;
}

.welcome-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    margin-left: 30px;
}
.welcome-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-left: 30px;
    line-height: 1.6;
}

.alert {
    margin-top: 33px ;
    padding: 16px;
    border-radius: 12px;
    position: relative;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.2);
    border-left: 4px solid #10b981;
    color: green;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.2);
    border-left: 4px solid #ef4444;
    color: red;
}

.alert-warning {
    background-color: rgba(185, 185, 47, 0.2) !important;
    border-left: 4px solid #f59e0b;
    color: orange;
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.2);
    border-left: 4px solid #3b82f6;
    color: blue;
}

.alert::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 18px;
}

.alert-success::before {
    content: "\f00c";
}

.alert-danger::before {
    content: "\f06a";
}

.alert-warning::before {
    content: "\f071";
}

.alert-info::before {
    content: "\f05a";
}

.btn-close {
    position: absolute;
    right: 16px;
    top: 16px;
    border: none;
    font-size: 18px;
    color: rgba(7, 7, 7, 1);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-close:hover {
    color: rgba(7, 7, 7, 1);
    background: rgba(255, 255, 255, 0.98);
}

/* Responsive */
@media (max-width: 1100px) {
    .login-card { height: 720px; }
}
@media (max-width: 992px) {
    .login-card {
        flex-direction: column;
        height: auto;
    }
    .right-side {
        padding: 80px 70px;
    }
}
@media (max-width: 600px) {
    .login-container { padding: 16px; }
    .left-side, .right-side { padding: 70px 40px; }
    .welcome-content h2 { font-size: 44px; }
}

/* Hide Edge/IE browser built-in eye icon */
input::-ms-reveal,
input::-ms-clear {
  display: none;
}

/* Hide Chrome, Safari, Edge (Chromium) eye icon */
input[type="password"]::-webkit-textfield-decoration-container {
  display: none;
}

input[type="password"]::-webkit-clear-button,
input[type="password"]::-webkit-reveal-button {
  display: none;
}
