/* Laravel Auth Pages - Shared Styles */
:root {
    --primary-color: #4e73df;
    --secondary-color: #6c757d;
    --success-color: #1cc88a;
    --danger-color: #e74a3b;
    --warning-color: #f6c23e;
    --dark-color: #5a5c69;
    --light-color: #f8f9fc;
    --border-radius: 0.35rem;
    --box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px 0;
    color: #5a5c69;
}

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

.auth-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(90deg, var(--primary-color) 0%, #2a5bd7 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.auth-header h2 {
    margin: 0;
    font-weight: 600;
}

.auth-body {
    padding: 2rem;
}

.auth-footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
    border-top: 1px solid #e3e6f0;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

.input-group-text {
    background-color: #f8f9fc;
    border-right: 0;
}

.input-group .form-control {
    border-left: 0;
}

.input-group .form-control:focus {
    border-color: #ced4da;
    box-shadow: none;
}

.input-group .form-control:focus + .input-group-text {
    border-color: var(--primary-color);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2a5bd7;
    border-color: #2a5bd7;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Password Toggle */
.password-toggle {
    cursor: pointer;
    color: var(--secondary-color);
    background-color: #f8f9fc !important;
}

.password-toggle:hover {
    color: var(--primary-color);
}

/* Alert Styles */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 0.75rem 1.25rem;
}

.alert i {
    margin-right: 8px;
}

/* Logo Styles */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e3e6f0;
}

.divider span {
    padding: 0 10px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Password Strength Indicator */
.password-strength {
    height: 5px;
    margin-top: 5px;
    border-radius: 2.5px;
    background-color: #e3e6f0;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Loading Spinner */
.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Link Styles */
.text-link {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}

.text-link:hover {
    text-decoration: underline;
}

/* Form Labels */
.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Form Text */
.form-text {
    font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .auth-body {
        padding: 1.5rem;
    }
    
    body {
        padding: 10px;
    }
    
    .auth-header {
        padding: 1.25rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo i {
        font-size: 1.75rem;
    }
}

/* Animation for form elements */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.auth-card {
    animation: fadeIn 0.5s ease-out;
}