/* Login Page Specific Styles */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 1rem;
}

.login-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    position: relative;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 64px;
    height: 64px;
    background: #14b8a6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.login-logo-icon {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.login-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.login-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0f9ff;
    color: #14b8a6;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid #e0f2fe;
}

.check-icon {
    width: 16px;
    height: 16px;
    color: #14b8a6;
}

.login-form {
    margin-bottom: 2rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9ca3af;
    z-index: 1;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    padding-left: 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #374151;
}

.form-input:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    z-index: 2;
}

.eye-icon {
    width: 18px;
    height: 18px;
    color: #9ca3af;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox {
    width: 1rem;
    height: 1rem;
    accent-color: #14b8a6;
    border-radius: 3px;
}

.checkbox-label {
    font-size: 0.875rem;
    color: #6b7280;
    cursor: pointer;
}

.forgot-password {
    font-size: 0.875rem;
    color: #14b8a6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #0f766e;
}

.login-button {
    width: 100%;
    background: #14b8a6;
    color: #ffffff;
    border: none;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.login-button:hover {
    background: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

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

.button-icon {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.login-footer {
    text-align: center;
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.system-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.powered-by {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0fdf4;
    color: #059669;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.security-icon {
    width: 14px;
    height: 14px;
    color: #059669;
}

/* Alert Styles */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Error States */
.form-input.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.error-message {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Loading State */
.login-button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-button.loading:hover {
    transform: none;
    box-shadow: none;
}

/* Success Animation */
.login-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #10b981;
    color: #ffffff;
    padding: 0.875rem;
    border-radius: 8px;
    font-weight: 600;
    animation: successPulse 0.5s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 1rem;
    }
    
    .login-card {
        padding: 2rem;
        margin: 0;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .login-subtitle {
        font-size: 0.875rem;
    }
    
    .form-input {
        padding: 0.75rem 1rem;
        padding-left: 2.75rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .login-card {
        max-width: 380px;
    }
}

/* Focus states for accessibility */
.checkbox:focus {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

.login-button:focus {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

.forgot-password:focus {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Smooth transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Light mode only - dark mode support removed */

/* Destination Selection Styles */
.destination-selection {
    margin-top: 1rem;
}

.welcome-message {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-message h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.welcome-message p {
    color: #6b7280;
    font-size: 0.95rem;
}

.destination-form {
    width: 100%;
}

.destination-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.destination-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.destination-btn:hover {
    border-color: #14b8a6;
    background: #f0fdfa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.15);
}

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

.destination-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-btn .destination-icon {
    background: #ddd6fe;
    color: #7c3aed;
}

.kiosk-btn .destination-icon {
    background: #fef3c7;
    color: #d97706;
}

.destination-icon svg {
    width: 24px;
    height: 24px;
}

.destination-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.destination-content p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

.dashboard-btn:hover .destination-icon {
    background: #c4b5fd;
}

.kiosk-btn:hover .destination-icon {
    background: #fde68a;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .destination-btn {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .destination-icon {
        width: 40px;
        height: 40px;
    }
    
    .destination-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .destination-content h3 {
        font-size: 1rem;
    }
    
    .destination-content p {
        font-size: 0.8rem;
    }
}