/* auth-premium.css - Shared Styles for Provider Auth Pages */

:root {
    --primary-color: #4285f4;
    --primary-hover: #3367d6;
    --bg-gradient: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    --card-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --input-border: #e2e8f0;
    --radius-lg: 24px;
    --radius-md: 12px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text-main);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Background Elements */
.auth-bg-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.decor-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #4285f4;
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #818cf8;
    bottom: -150px;
    left: -100px;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Main Layout */
.auth-wrapper {
    display: flex;
    min-height: 100vh;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.auth-container {
    display: flex;
    width: 100%;
    max-width: 1100px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

/* Side Section (Hero/Testimonial) */
.auth-side {
    flex: 1;
    background: linear-gradient(135deg, #d14237 0%, #684400 100%);
    padding: 60px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zm-45 46c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zm57 31c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zM31 11c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.auth-side h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    z-index: 1;
}

.auth-side p {
    font-size: 1.1rem;
    opacity: 0.8;
    z-index: 1;
    margin-bottom: 40px;
}

.testimonial-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.testimonial-user-info span {
    display: block;
    font-weight: 600;
}

.testimonial-user-info small {
    opacity: 0.6;
}

/* Form Section */
.auth-form-side {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    margin-bottom: 40px;
}

.auth-logo {
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-muted);
}

/* Form Elements */
.form-group-custom {
    margin-bottom: 24px;
}

.form-label-custom {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color 0.3s;
}

.input-custom {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1.5px solid var(--input-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.input-custom:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.1);
}

.input-custom:focus + i {
    color: var(--primary-color);
}

.password-toggle {
    position: absolute;
    right: 16px;
    left: auto !important;
    cursor: pointer;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.checkbox-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-custom input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    cursor: pointer;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.btn-premium {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(66, 133, 244, 0.3);
}

.btn-premium:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(66, 133, 244, 0.4);
}

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

.btn-premium:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

/* Centered Layout Variation */
.auth-centered {
    max-width: 500px;
}

.auth-centered .auth-form-side {
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
        max-width: 600px;
    }
    .auth-side {
        padding: 40px;
    }
    .auth-form-side {
        padding: 40px;
    }
}

@media (max-width: 576px) {
    .auth-wrapper {
        padding: 10px;
    }
    .auth-container {
        border-radius: var(--radius-md);
    }
    .auth-side h1 {
        font-size: 1.8rem;
    }
    .auth-form-side {
        padding: 30px 20px;
    }
}
