:root {
    --site-color: #3333ff; /* fallback */
    --background-color: #ffffff; /* fallback */
    --input-bg: #f5f5f5;
    --gray: #666;
    --background-color: #ffffff !important;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
    animation: fadeIn 1s ease forwards;
    background: #ffffff !important; 
    background-image: none !important;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(0px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(1.0); } to { opacity: 1; transform: scale(1); } }

/* Container */
.login-container {
    width: 100%; 
    max-width: 500px;
    padding: 25px 20px 35px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    animation: scaleIn 0.6s ease forwards;
}

/* Logo */
.site-logo { margin-bottom: 15px; }
.site-logo img { max-width: 50px; height: auto; object-fit: contain; }

/* Back Button */
.back-btn { margin-bottom: 15px; text-align: left; }
.back-btn a { font-size: 18px; color: #333; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }

/* Titles */
h2.login-title { font-size: 22px; font-weight: 700; color: var(--site-color); margin-bottom: 8px; }
.subtitle { font-size: 13px; font-weight: 400; color: var(--gray); margin-bottom: 20px; }

/* Input Group */
.input-group {
    position: relative;
    margin-bottom: 15px;
    background: var(--input-bg);
    border-radius: 12px;
    padding: 10px 15px;
    transition: box-shadow 0.3s ease;
}
.input-group input, .input-group select { width: 100%; border: none; outline: none; background: transparent; font-size: 13px; color: #333; }
.input-group select { color: #555; }
.input-group:hover, .input-group input:focus { box-shadow: 0 3px 8px rgba(51, 51, 255, 0.2); }

/* Toggle Password */
.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--site-color);
}

/* Buttons */
.btn-login {
    width: 100%;
    background: var(--site-color);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.1s ease;
}
.btn-login:hover { background: #2222cc; transform: translateY(-2px); }

/* Signup Text */
.signup-text { text-align: center; margin-top: 20px; font-size: 13px; }
.signup-text a { color: var(--site-color); text-decoration: none; font-weight: 600; }
.signup-text a:hover { text-decoration: underline; }

/* Popups */
.popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    color: #fff;
    animation: fadeInDown 0.3s ease;
}
.popup-success { background: #28a745; }
.popup-error { background: #dc3545; }
@keyframes fadeInDown { from { opacity: 0; transform: translate(-50%, -20px); } to { opacity: 1; transform: translate(-50%, 0); } }
* ✅ Modern Dropdown Styles */
.custom-dropdown {
    position: relative;
    width: 100%;
}
.dropdown-selected {
    background: #f5f5f5;
    padding: 5px 5px  /* compact height */
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    border: none;       /* 🚀 removed border */
    color: #666;   /* 🎨 custom text color */
}
.dropdown-options {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    max-height: 180px;
    overflow-y: auto;
    border-radius: 8px;
    margin-top: 4px;
    z-index: 10;
    border: none;       /* 🚀 removed border */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* subtle shadow instead */
}
.dropdown-options div {
    padding: 6px 8px;
    cursor: pointer;
    font-size: 14px;
}
.dropdown-options div:hover {
    background: var(--site-color);
    color: #fff;
}
.dropdown-search {
    width: 100%;
    border: none;       /* 🚀 no border */
    padding: 6px 8px;
    font-size: 14px;
    outline: none;
    background: #f9f9f9; /* light background */
}


