.auth-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.auth-container.wizard {
    max-width: 600px;
}

.auth-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0;
    overflow: hidden;
}

.auth-header {
    padding: 40px 40px 20px 40px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.auth-logo h2 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-logo p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 0;
}

.auth-content {
    padding: 30px 40px;
}

.auth-footer {
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    text-align: center;
}

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

.form-control {
    height: 48px;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-size: 16px;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 0.8;
}


.btn-auth {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-auth:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

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

.btn-auth:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-auth .spinner-border {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.form-check {
    margin: 20px 0;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-check-label {
    color: #495057;
    font-size: 14px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

.alert {
    border-radius: 8px;
    margin-bottom: 20px;
}

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

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

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

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

.auth-divider span {
    background: white;
    padding: 0 20px;
    color: #6c757d;
    font-size: 14px;
}

@media (max-width: 576px) {
    .auth-container {
        max-width: 100%;
        margin: 10px;
    }

    .auth-header {
        padding: 30px 20px 15px 20px;
    }

    .auth-content {
        padding: 25px 20px;
    }

    .auth-footer {
        padding: 15px 20px;
    }

    .auth-logo h2 {
        font-size: 24px;
    }
}

.form-text {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.is-invalid {
    border-color: #dc3545;
}

.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}