/*
 * Mynimit Custom Login Page Styles
 * This file styles the default wp-login.php page to match the theme.
 */
body.login {
    background-color: #f7f4f9;
    background-image: radial-gradient(circle at 1% 1%, rgba(250, 204, 21, 0.08), transparent 30%),
                      radial-gradient(circle at 99% 99%, rgba(168, 85, 247, 0.08), transparent 40%);
    background-attachment: fixed;
}

#login {
    padding: 5% 20px 0 20px !important;
    width: 100% !important;
    max-width: 480px;
}

#login h1 a {
    background-image: none !important;
    font-family: 'Kanit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #4c1d95;
    text-indent: 0;
    width: auto;
    height: auto;
}

#loginform, #lostpasswordform, #registerform {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1) !important;
    padding: 40px;
    margin-top: 2rem !important;
}

.login form .input, .login input[type="text"] {
    font-family: 'Kanit', sans-serif;
    background-color: #f3e8ff; /* bg-violet-50 */
    border-radius: 0.5rem;
    padding: 12px;
    color: #3d3a4b;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.login form .input:focus, .login input[type="text"]:focus {
    border-color: #a78bfa;
    box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.4);
}

.login .button-primary {
    font-family: 'Kanit', sans-serif;
    width: 100%;
    background-color: #8b5cf6; /* bg-violet-700 */
    color: #ffffff;
    font-weight: 700;
    padding: 12px;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease-in-out;
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3), 0 4px 6px -2px rgba(139, 92, 246, 0.3);
    font-size: 1.125rem;
    text-shadow: none;
    border: none;
    height: auto;
    line-height: normal;
}

.login .button-primary:hover {
    background-color: #7c3aed; /* hover:bg-violet-600 */
}

.login #nav, .login #backtoblog {
    text-align: center;
    padding: 0;
}

.login #nav a, .login #backtoblog a {
    color: #6b7280; /* text-muted */
    font-family: 'Kanit', sans-serif;
}
.login #nav a:hover, .login #backtoblog a:hover {
    color: #4c1d95; /* text-primary */
}