/* Custom Login Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');

/* Dark theme variables */
:root {
    --primary-purple: #751fe9;
    --dark-bg: #0a0a0a;
    --dark-surface: #1a1a1a;
    --dark-border: #333333;
    --text-light: #ffffff;
    --text-muted: #999999;
    --text-secondary: #cccccc;
}


/* Body and background */
body {
    background: var(--dark-bg) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
}

/* Login container */
.login-container {
    background: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Main login card */
.login-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 32rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

/* Logo container */
.logo-container {
    text-align: center;
    margin-bottom: 32px;
}

.logo-container img {
    max-height: 60px;
    width: auto;
}

/* Title styling */
.login-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
}

/* Form styling */
.login-form {
    width: 100%;
}

/* Input field styling */
.form-input {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 16px;
    margin-top: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(117, 31, 233, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* Remove icons from inputs */
.form-input-wrapper {
    position: relative;
}

/* Options row */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Checkbox styling */
.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    font-size: 14px;
}

.remember-me label {
    color: #ffffff !important;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 4px;
    accent-color: var(--primary-purple);
    cursor: pointer;
    appearance: none;
    position: relative;
    transition: all 0.3s ease;
}

.remember-me input[type="checkbox"]:checked {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
}

.remember-me input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-size: 12px;
    font-weight: bold;
}

.remember-me input[type="checkbox"]:hover {
    border-color: var(--primary-purple);
}

/* Forgot password link */
.forgot-password {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-purple);
    text-decoration: none;
}

/* Login button */
.login-button {
    width: 100%;
    background: var(--primary-purple);
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-button:hover {
    background: #8b3df0;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(117, 31, 233, 0.3);
}

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

/* Footer */
.login-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--dark-border);
    text-align: center;
}

.footer-text {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
}

.footer-text a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* Error messages */
.error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 8px;
    display: block;
}


/* Responsive design */
@media (max-width: 480px) {
    .login-card {
        padding: 24px;
        margin: 16px;
    }
    
    .login-title {
        font-size: 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Remove default material design styles */
.card,
.box-shadow-2,
.border-grey,
.border-lighten-3 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.has-icon-left .form-control-position {
    display: none !important;
}

.line-on-side {
    display: none !important;
}

/* Hide decorative elements */
.card-header {
    border: none !important;
    background: transparent !important;
}

.card-subtitle {
    display: none !important;
}

/* Force white text for form options */
.form-options * {
    color: #ffffff !important;
}

.form-options label {
    color: #ffffff !important;
}

.form-options a {
    color: #ffffff !important;
}

/* Override any existing styles */
.remember-me,
.remember-me label,
.remember-me * {
    color: #ffffff !important;
}

.forgot-password,
.forgot-password * {
    color: #ffffff !important;
}
