/* Custom Login Page Styling for Culture Theme */

body.login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: "Georgia", "Times New Roman", serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login #login {
    width: 100%;
    max-width: 400px;
    padding: 0 20px;
}

.login #login form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
}

.login #login h1 {
    text-align: center;
    margin-bottom: 30px;
}

.login #login h1 a {
    background-image: none !important;
    width: auto;
    height: auto;
    text-indent: 0;
    font-size: 28px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    font-family: "Georgia", "Times New Roman", serif;
    letter-spacing: 2px;
}

.login #login h1 a:hover {
    color: #007cba;
}

.login #login .input {
    margin-bottom: 20px;
}

.login #login input[type="text"],
.login #login input[type="password"] {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-family: "Georgia", "Times New Roman", serif;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.login #login input[type="text"]:focus,
.login #login input[type="password"]:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.login #login .button-primary {
    width: 100%;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Georgia", "Times New Roman", serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.login #login .button-primary:hover {
    background: linear-gradient(135deg, #005a87 0%, #004466 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.login #login .button-primary:active {
    transform: translateY(0);
}

.login #login .forgetmenot {
    margin-top: 15px;
}

.login #login .forgetmenot label {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.login #login .forgetmenot input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.login #login p#nav,
.login #login p#backtoblog {
    text-align: center;
    margin-top: 20px;
}

.login #login p#nav a,
.login #login p#backtoblog a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.login #login .message {
    border-left: 4px solid #007cba;
    background: #e3f2fd;
    color: #1565c0;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.login #login .error {
    border-left: 4px solid #dc3545;
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login #login {
        padding: 0 15px;
    }

    .login #login form {
        padding: 30px 20px;
    }

    .login #login h1 a {
        font-size: 24px;
    }
}

/* Loading animation */
.login #login .button-primary.loading {
    position: relative;
    color: transparent;
}

.login #login .button-primary.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom background pattern */
body.login::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Focus states for accessibility */
.login #login input[type="text"]:focus,
.login #login input[type="password"]:focus,
.login #login .button-primary:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}
