/* Auth Pages Refined Styles */

:root {
    --auth-accent: {
            {
            \App\Models\Setting: :get('theme_accent_color', '#4834d4')
        }
    }

    ;
}

.auth-refined {
    min-height: 100vh;
    background: #f8fafc;
}

.auth-refined .auth-left {
    position: relative;
    overflow: hidden;
    background: #000;
}

.auth-refined .auth-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.auth-refined .auth-left::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.auth-refined .auth-right {
    background: #ffffff;
    padding: 3rem 2rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.brand-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.brand-logo-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.brand-logo-container a:hover {
    border-color: var(--auth-accent);
    transform: scale(1.05);
}

.brand-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-header h4 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #64748b;
    font-size: 1rem;
}

/* Icon Fields */
.icon-field-refined {
    position: relative;
    margin-bottom: 1.25rem;
}

.icon-field-refined .icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.icon-field-refined .form-control {
    padding-left: 3.5rem;
    height: 60px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.icon-field-refined .form-control:focus {
    background: #fff;
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 4px rgba(72, 52, 212, 0.1);
}

.icon-field-refined .form-control:focus+.icon {
    color: var(--auth-accent);
}

/* Buttons */
.btn-auth-primary {
    height: 60px;
    background: var(--auth-accent);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(72, 52, 212, 0.2);
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 52, 212, 0.3);
    opacity: 0.95;
    color: #fff;
}

.toggle-password-refined {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.25rem;
    z-index: 10;
}

.auth-footer p {
    color: #64748b;
}

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

@media (max-width: 991px) {
    .auth-refined .auth-right {
        padding: 2rem 1rem;
    }

    .auth-card {
        padding: 1.5rem;
    }
}