/* Premium Dark Login Page Styles for AIMART */
body.login {
    background-color: #0b0d11;
    background-image: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
    font-family: 'Outfit', 'Inter', sans-serif;
    color: #f1f5f9;
}

body.login div#login h1 a {
    background-image: url('https://aimart.lk/wp-content/uploads/2025/09/AI-Mart-Logo-300x282-1.png');
    background-size: contain;
    background-position: center;
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.3));
}

body.login #login {
    padding-top: 60px;
}

body.login form {
    background: rgba(31, 41, 55, 0.4);
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    padding: 35px;
}

body.login label {
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 600;
    margin-bottom: 8px;
}

body.login input[type="text"],
body.login input[type="password"] {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    color: white;
    box-shadow: none;
    margin-top: 8px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

body.login input[type="text"]:focus,
body.login input[type="password"]:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
    background: rgba(17, 24, 39, 0.8);
    outline: none;
}

body.login .button-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border: none;
    color: white;
    text-shadow: none;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    margin-top: 15px;
    height: auto;
    cursor: pointer;
}

body.login .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.5);
    filter: brightness(1.1);
}

body.login input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: rgba(255, 255, 255, 0.05);
    margin: 0 8px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    height: 1.25rem;
    width: 1.25rem;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
}

body.login input[type="checkbox"]:checked {
    background-color: #7c3aed;
    border-color: #7c3aed;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    background-size: 100% 100%;
}

body.login .forgetmenot {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: #94a3b8;
}

body.login #nav,
body.login #backtoblog {
    text-align: center;
    padding: 10px 0;
}

body.login #nav a,
body.login #backtoblog a {
    color: #94a3b8;
    transition: color 0.2s;
    font-weight: 500;
}

body.login #nav a:hover,
body.login #backtoblog a:hover {
    color: #7c3aed;
}

/* Social Login Spacing */
.login .mo_openid_login_wid {
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
}

.login .button-social {
    border-radius: 12px !important;
}