/* LoginLook - Gradient Style Theme */

body.login {
    background: linear-gradient(140deg, #0f172a 0%, #1f2a44 35%, #3b1d5f 100%);
    background-attachment: fixed;
    font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

body.login::before,
body.login::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.65;
    pointer-events: none;
    z-index: 0;
}

body.login::before {
    background: radial-gradient(circle at 30% 30%, #60a5fa 0%, rgba(96, 165, 250, 0) 70%);
    top: -200px;
    left: -140px;
}

body.login::after {
    background: radial-gradient(circle at 70% 70%, #a855f7 0%, rgba(168, 85, 247, 0) 70%);
    bottom: -220px;
    right: -160px;
}

.login #login {
    position: relative;
    z-index: 1;
}

.login form {
    background: rgba(18, 24, 38, 0.72);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
    padding: 42px 40px;
    max-width: 420px;
    width: 100%;
}

.login #login h1 {
    text-align: center;
    margin: 0 auto 28px;
    padding: 0;
    max-width: 420px;
    display: flex;
    justify-content: center;
}
.loginlook-theme-gradient #login form label {
    color: rgba(248, 250, 252, 0.85) !important;
}

.login #login h1 a {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 128px;
    height: 128px;
    margin: 0 auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

.login #login .message,
.login #login .success {
    border-left: 4px solid #4caf50;
    background: rgba(76, 175, 80, 0.18);
    color: #f8fafc;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.login #login .error {
    border-left: 4px solid #f44336;
    background: rgba(244, 67, 54, 0.18);
    color: #f8fafc;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.login #login input[type="text"],
.login #login input[type="password"] {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    padding: 13px 16px;
    color: #f8fafc;
    font-size: 15px;
    backdrop-filter: blur(5px);
}

.login #login input[type="text"]::placeholder,
.login #login input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.login #login input[type="text"]:focus,
.login #login input[type="password"]:focus {
    border-color: rgba(96, 165, 250, 0.9);
    outline: none;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}

.login #login .button-primary {
    background: linear-gradient(120deg, #60a5fa 0%, #a855f7 100%);
    border: 1px solid rgba(248, 250, 252, 0.15);
    color: #0f172a;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 13px 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    backdrop-filter: blur(5px);
}

.login #login .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(96, 165, 250, 0.35);
    filter: brightness(1.05);
}

.login #login .forgetmenot {
    font-size: 12px;
    color: rgba(248, 250, 252, 0.75);
}

.login #login .forgetmenot input[type="checkbox"] {
    margin-right: 5px;
}

.login #login .submit .button {
    float: none;
    width: 100%;
    margin-top: 15px;
}

.login #login label {
    color: rgba(248, 250, 252, 0.85);
    font-weight: 600;
    letter-spacing: 0.01em;
}

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

.login #login #nav a,
.login #login #backtoblog a {
    color: rgba(248, 250, 252, 0.75);
    text-decoration: none;
}

.login #login #nav a:hover,
.login #login #backtoblog a:hover {
    color: #f8fafc;
    text-decoration: underline;
}

.loginlook-theme-gradient #login {
  max-width: 480px;
  width: unset;
}