/* Login Page Theme Styles */

/* Main Layout */
.login-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    margin: 0;
    overflow: auto;
}

.login-container {
    width: 100%;
    max-width: 450px;
    margin: auto;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 16px;
    color: #718096;
    margin-bottom: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control-lg {
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control-lg:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-control-lg::placeholder {
    color: #a0aec0;
}

/* Button Styles */
.btn-login {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-login:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-login:active:not(:disabled) {
    transform: translateY(0);
}

.btn-login:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
    margin-bottom: 24px;
}

.alert-danger {
    background-color: #fed7d7;
    color: #742a2a;
}

/* Welcome Page Styles */
.welcome-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    margin: 0;
    overflow: auto;
}

.welcome-container {
    width: 100%;
    max-width: 500px;
}

.welcome-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 60px 40px;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.welcome-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
}

.welcome-subtitle {
    font-size: 18px;
    color: #718096;
    margin-bottom: 32px;
}

.btn-welcome {
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-welcome:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-welcome:active {
    transform: translateY(0);
}

/* Loading Styles */
.loading-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    margin: 0;
    overflow: auto;
}

.loading-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

/* Responsive Design */
@media (max-width: 576px) {
    .login-card {
        padding: 30px 24px;
    }

    .login-logo {
        max-width: 150px;
    }

    .login-title {
        font-size: 24px;
    }

    .login-subtitle {
        font-size: 14px;
    }

    .welcome-card {
        padding: 40px 30px;
    }

    .welcome-logo {
        max-width: 180px;
    }

    .welcome-title {
        font-size: 26px;
    }

    .welcome-subtitle {
        font-size: 16px;
    }

    .form-control-lg {
        font-size: 14px;
        padding: 10px 14px;
    }

    .btn-login,
    .btn-welcome {
        font-size: 16px;
        padding: 12px 24px;
    }
}

/* Tablet adjustments */
@media (min-width: 577px) and (max-width: 768px) {
    .login-logo,
    .welcome-logo {
        max-width: 170px;
    }
}

/* Print styles */
@media print {
    .login-wrapper,
    .welcome-wrapper,
    .loading-wrapper {
        display: none;
    }
}
