.reformix-login-container {
    max-width: 400px;
    margin: 0px auto 60px;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card-header {
    background: var(--reformix-primary-color, #667eea);
    color: #fff;
    padding: 20px;
    text-align: center !important;
    border-radius: 8px 8px 0 0;
    display: block;
}

.card-header h2 {
    margin: 15px 0 5px;
    font-size: 24px;
    font-weight: 600;
    text-align: center !important;
    display: block;
    width: 100%;
}

.card-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    text-align: center !important;
    display: block;
    width: 100%;
}

.login-form-wrapper {
    padding: 20px;
}

.notice.error {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
    color: #c33;
    font-size: 14px;
}

.login-form-wrapper form p {
    margin-bottom: 15px;
}

.login-form-wrapper label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.login-form-wrapper input[type="text"],
.login-form-wrapper input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.login-form-wrapper input[type="text"]:focus,
.login-form-wrapper input[type="password"]:focus {
    outline: none;
    border-color: var(--reformix-primary-color, #667eea);
}

/* Field Validation States */
.form-field.error input {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-field.success input {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 8px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.error-message i {
    color: #dc2626;
    font-size: 14px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 !important;
}

.forgetmenot {
    margin: 0 !important;
}

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

.forgetmenot label {
    margin: 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.forgot-password {
    margin: 0 !important;
}

.forgot-password a {
    color: var(--reformix-primary-color, #667eea);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.submit input[type="submit"] {
    width: 100%;
    background: var(--reformix-primary-color, #667eea);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.submit input[type="submit"]:hover {
    opacity: 0.9;
}

.login-footer {
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.register-link p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.register-link a {
    color: var(--reformix-primary-color, #667eea);
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .reformix-login-container {
        margin: 20px auto;
        padding: 10px;
    }
    
    .card-header h2 {
        font-size: 20px;
    }
    
    .login-form-wrapper {
        padding: 15px;
    }
    
    .login-footer {
        padding: 10px 15px;
    }
}