:root {
    --midnight-blue: #193e6b;
    --cadmium-violet: #7f3f98;
    --jelly-bean-blue: #448e9d;
    --sunray: #e9ac53;
}

body {
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-container {
    width: 100%;
    max-width: 448px;
}

.login-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 2rem;
}

.logo-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--cadmium-violet) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: white;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #6b7280;
    margin-bottom: 0;
}

.success-alert {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--jelly-bean-blue);
    box-shadow: 0 0 0 3px rgba(68, 142, 157, 0.1);
    outline: none;
}

.form-control.is-invalid {
    border-color: #ef4444;
}

.error-message {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.error-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-primary-custom {
    width: 100%;
    background-color: var(--midnight-blue);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    border: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary-custom:hover {
    background-color: #152f52;
    transform: translateY(-1px);
}

.btn-primary-custom:active {
    transform: scale(0.98);
}

.btn-primary-custom:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary-custom:focus {
    box-shadow: 0 0 0 3px rgba(68, 142, 157, 0.3);
    outline: none;
}

.btn-guest {
    width: 100%;
    background-color: white;
    color: #374151;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    border: 2px solid #e5e7eb;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-guest:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.btn-guest:active {
    transform: scale(0.98);
}

.btn-guest:focus {
    box-shadow: 0 0 0 3px rgba(68, 142, 157, 0.1);
    outline: none;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.divider span {
    padding: 0 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.additional-info {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1.5rem;
}

.footer-text {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.guest-icon {
    width: 20px;
    height: 20px;
}

.btn-ecc-custom {
    width: 100%;
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--cadmium-violet) 100%);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    border: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-ecc-custom:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: white;
}

.btn-ecc-custom:active {
    transform: scale(0.98);
}