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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form-wrapper {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    padding: 48px 40px;
}

.login-logo-container {
    text-align: center;
    margin-bottom: 32px;
}

.login-page-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.login-form-container {
    width: 100%;
}

.login-header {
    margin-bottom: 32px;
    text-align: center;
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.login-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #212529;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #6c757d;
    font-size: 18px;
    pointer-events: none;
}

.form-control {
    width: 100%;
    height: 48px;
    padding: 0 44px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

.toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #212529;
}

.btn {
    width: 100%;
    height: 48px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-signin {
    background: #3b82f6;
    color: #fff;
    margin-bottom: 16px;
}

.btn-signin:hover {
    background: #2563eb;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-signin:active {
    background: #1d4ed8;
}

.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
}

.divider span {
    position: relative;
    display: inline-block;
    padding: 0 16px;
    background: #fff;
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
}

.btn-okta {
    background: #fff;
    color: #212529;
    border: 1px solid #dee2e6;
}

.btn-okta:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.okta-logo {
    width: 24px;
    height: 24px;
}

.login-footer {
    margin-top: 32px;
    text-align: center;
}

.footer-text {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
}

.footer-text i {
    color: #198754;
    font-size: 14px;
}

/* Alert Styles */
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    animation: slideIn 0.3s ease;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert i {
    font-size: 18px;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s ease;
}

/* Responsive */
@media (max-width: 576px) {
    body {
        padding: 0;
    }
    
    .login-form-wrapper {
        padding: 32px 24px;
        border-radius: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .login-logo-container {
        margin-bottom: 24px;
    }
    
    .login-page-logo {
        width: 64px;
        height: 64px;
    }
    
    .login-title {
        font-size: 24px;
    }
}

