* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #10281C 0%, #133121 50%, #0A0A0A 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.logo-container {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-wrapper {
    display: inline-block;
    background: #0A0A0A;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.login-logo,
.logo-container img {
    max-width: 160px;
    height: auto;
    display: block;
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: #22C365;
    background: white;
    box-shadow: 0 0 0 4px rgba(34, 195, 101, 0.15);
}

.form-control.is-invalid {
    border-color: #dc2626;
    background: #fff5f5;
}

.form-control.is-invalid:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-control {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #22C365;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: #22C365;
}

.form-check label {
    color: #666;
    font-size: 0.875rem;
    cursor: pointer;
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #22C365 0%, #1a9b4d 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 195, 101, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, #1a9b4d 0%, #22C365 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 195, 101, 0.4);
}

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

.error-message,
.invalid-feedback {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.login-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.login-link-text {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}


.login-link a,
.login-link-action {
    color: #22C365;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.login-link a:hover,
.login-link-action:hover {
    color: #1a9b4d;
    text-decoration: underline;
}

body.auth-page {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #10281C 0%, #133121 50%, #0A0A0A 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.auth-logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.auth-form .form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1rem;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: #22C365;
    box-shadow: 0 0 0 4px rgba(34, 195, 101, 0.15);
}

.auth-form .form-control.is-invalid {
    border-color: #dc2626;
}

.btn-auth {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #22C365 0%, #1a9b4d 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-auth:hover {
    background: linear-gradient(135deg, #1a9b4d 0%, #22C365 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 195, 101, 0.4);
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.auth-link a {
    color: #22C365;
    font-weight: 600;
}

@media (max-width: 480px) {
    .login-card,
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .logo-container img {
        max-width: 150px;
    }
}
