/* Full-screen background for admin login page */
body[class*="login"],
html:has(body[class*="login"]) {
    background-image: url("/static/admin/img/login-bg-3.b08102c11e09.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* Make the login card semi-transparent with blur */
body[class*="login"] .bg-white,
body[class*="login"] [class*="bg-white"],
body[class*="login"] [class*="bg-gray"],
body[class*="login"] .rounded-lg {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

/* Style inputs for better visibility on background */
body[class*="login"] input[type="text"],
body[class*="login"] input[type="password"],
body[class*="login"] input[type="email"] {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

body[class*="login"] input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Make labels white for visibility */
body[class*="login"] label {
    color: #ffffff !important;
}

/* Title styling */
body[class*="login"] h1,
body[class*="login"] h2,
body[class*="login"] [class*="text-2xl"],
body[class*="login"] [class*="text-3xl"] {
    color: #ffffff !important;
}

/* Help text and other text */
body[class*="login"] p,
body[class*="login"] [class*="text-gray"] {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Links */
body[class*="login"] a {
    color: #60a5fa !important;
}

body[class*="login"] a:hover {
    color: #93c5fd !important;
}

/* Submit button */
body[class*="login"] button[type="submit"],
body[class*="login"] [type="submit"] {
    background: #3b82f6 !important;
    color: white !important;
    border: none !important;
}

body[class*="login"] button[type="submit"]:hover,
body[class*="login"] [type="submit"]:hover {
    background: #2563eb !important;
}
