/* FEATHERFALL Nest — Dark Mode Login */

/* Force dark on everything */
body.frappe-web, body { 
    background: #0f0f0f !important; 
    color: #e0e0e0 !important; 
}

/* Login card */
.page-card { 
    background: #1a1a1a !important; 
    border: 1px solid #2a2a2a !important; 
    box-shadow: 0 4px 24px rgba(0,0,0,0.5) !important;
    border-radius: 12px !important;
    max-width: 400px !important;
}

.page-card-head { 
    background: transparent !important;
    border-bottom: 1px solid #2a2a2a !important;
}

/* App title / branding */
.page-card-head .title, 
.page-card-head h4,
.for-login .page-card-head .title { 
    color: #fff !important; 
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    letter-spacing: 1px !important;
}

/* Input fields */
.frappe-control input[type="text"],
.frappe-control input[type="password"],
.frappe-control input[type="email"],
.frappe-control .input-with-feedback,
input.form-control {
    background: #111 !important;
    border: 1px solid #333 !important;
    color: #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
}

.frappe-control input:focus,
input.form-control:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.2) !important;
    outline: none !important;
}

/* Labels */
.frappe-control label,
.control-label,
label { 
    color: #888 !important; 
}

/* Login button */
.btn-primary, 
.btn-primary-dark,
.page-card .btn-primary { 
    background: #2563eb !important; 
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.btn-primary:hover { 
    background: #3b82f6 !important; 
}

/* Links */
.page-card a, 
.login-content a,
.for-login a { 
    color: #60a5fa !important; 
}

/* Forgot password, signup links */
.login-footer, .page-card-body .text-muted { 
    color: #666 !important; 
}

/* Placeholder text */
::placeholder { color: #555 !important; }
::-webkit-input-placeholder { color: #555 !important; }

/* Navbar - make it dark */
.navbar, .web-navbar { 
    background: #1a1a1a !important; 
    border-bottom: 1px solid #2a2a2a !important;
    box-shadow: none !important;
}

.navbar a, .navbar .navbar-brand { 
    color: #ccc !important; 
}

/* Footer */
.web-footer, footer { 
    background: #0f0f0f !important; 
    color: #555 !important;
    border-top: 1px solid #1e1e1e !important;
}

/* OTP / 2FA fields */
.frappe-control .otp-input,
.otp-input { 
    background: #111 !important; 
    border: 1px solid #333 !important; 
    color: #e0e0e0 !important; 
}

/* Alert / error messages */
.alert-danger { 
    background: #1a0a0a !important; 
    border-color: #dc2626 !important; 
    color: #f87171 !important; 
}

/* Powered by text - hide or restyle */
.page-card .verify-link,
.page-card-body .login-divider { 
    border-color: #2a2a2a !important; 
}

/* Social login buttons */
.btn-default { 
    background: #222 !important; 
    border: 1px solid #333 !important; 
    color: #ccc !important; 
}

/* Misc text */
.text-muted { color: #666 !important; }
p, span, div { color: inherit; }

/* Mobile tweaks */
@media (max-width: 768px) {
    .page-card { 
        margin: 20px 16px !important; 
        border-radius: 8px !important;
    }
}

/* Hide "Powered by Frappe" */
.footer-powered { display: none !important; }

/* Breadcrumb area */
.page-head { background: #0f0f0f !important; }
