/* My Clinic Center - Auth Pages Common CSS */

/* Base Styles */
body {
    font-family: 'Inter', 'Nunito', sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Modern Navigation Bar */
.modern-navbar {
    background-color: #fff;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modern-navbar .navbar-brand {
    color: #2563eb;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.modern-navbar .navbar-brand .fw-light {
    font-weight: 300 !important;
}

.modern-navbar .nav-link {
    color: #4b5563;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.modern-navbar .nav-link.active {
    color: #1f2937;
}

.modern-navbar .nav-link:hover {
    color: #1f2937;
}

/* Modern Buttons */
.modern-btn {
    border-radius: 50px;
    font-size: 1rem;
    padding: 0.4rem 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.modern-btn.btn-outline-primary {
    color: #2563eb;
    border: 2px solid #2563eb;
    background-color: transparent;
}

.modern-btn.btn-outline-primary:hover {
    background-color: #2563eb;
    color: #fff;
}

.modern-btn.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #2563eb 100%);
    border: none;
    color: #fff;
    font-weight: 600;
}

.modern-btn.btn-success:hover {
    background: linear-gradient(360deg, #22c55e 0%, #2563eb 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

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

/* Container Styles */
.login-container,
.forgot-container,
.reset-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    display: flex;
    min-height: 600px;
}

/* Form Sections */
.login-form-section,
.forgot-form-section,
.reset-form-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Illustration Sections */
.illustration-section {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Login Page Illustration */
.login-container .illustration-section {
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
}

.auth-robot-illustration {
    width: 350px;
    height: 350px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.auth-robot-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Forgot Password Illustration */
.forgot-container .illustration-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.key-illustration {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.key-illustration::before {
    content: "🔑";
    font-size: 80px;
    position: relative;
}

.key-illustration::after {
    content: "📧";
    font-size: 24px;
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reset Password Illustration */
.reset-container .illustration-section {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.lock-illustration {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.lock-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Typography */
.app-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    /* Dashboard koyu metin rengi */
    margin-bottom: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: -0.025em;
}

.app-title i {
    font-size: 28px;
    color: #2563eb;
}

.app-title .fw-light {
    font-weight: 300 !important;
}

.app-subtitle {
    color: #6b7280;
    font-size: 14px;
    text-align: center;
    margin-bottom: 30px;
}

.forgot-description,
.reset-description {
    color: #6b7280;
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

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

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 16px;
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.password-input-wrapper input {
    padding-right: 50px !important;
}

/* Buttons */
.login-button,
.reset-button {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: block;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    position: relative;
    z-index: 10;
}

.login-button:hover,
.reset-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.login-button:active,
.reset-button:active {
    transform: translateY(0);
}

.login-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Links */
.forgot-password,
.back-to-login a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.forgot-password:hover,
.back-to-login a:hover {
    text-decoration: underline;
}

.back-to-login {
    text-align: center;
    margin-bottom: 20px;
}

.create-account {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.create-account a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.create-account a:hover {
    text-decoration: underline;
}

/* Footer */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    font-size: 12px;
    color: #9ca3af;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-links a:hover {
    color: #6b7280;
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.alert-danger {
    background-color: #fef2f2;
    color: #dc2626;
}

.alert-success {
    background-color: #f0fdf4;
    color: #16a34a;
}

/* Login Method (for login page) */
.login-method {
    margin-bottom: 30px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    z-index: 1000;
    margin-top: 5px;
}

.language-option {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.language-option:hover {
    background-color: #f3f4f6;
    text-decoration: none;
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

/* Welcome Page Specific Styles */
.hero-btn {
    border-radius: 50px;
    font-size: 1.1rem;
    padding: 0.6rem 1.5rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.hero-btn.btn-outline-primary {
    color: #2563eb;
    border: 1px solid #2563eb;
    background-color: transparent;
}

.hero-btn.btn-outline-primary:hover {
    background-color: #2563eb;
    color: #fff;
}

.hero-btn.btn-success {
    background: linear-gradient(90deg, #22c55e 0%, #2563eb 100%);
    border: none;
    color: #fff;
    font-weight: 600;
}

.hero-btn.btn-success:hover {
    background: linear-gradient(360deg, #22c55e 0%, #2563eb 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Hero Section Styling */
.hero-card {
    background-color: #fff;
    border-radius: 2.2rem;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
    padding: 3.5rem 2.5rem 3.5rem 2.5rem;
    margin: 3rem auto;
    overflow: hidden;
    max-height: 85vh;
}

.ai-badge {
    background-color: #2563eb;
    color: #fff;
    border-radius: 50px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.hero-heading {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 1.1;
    color: #111827;
    margin-bottom: 1.2rem;
}

.hero-content-left {
    padding-left: 50px;
}

.hero-description {
    font-size: 20px;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.35;
}

.brand-highlight {
    background-color: #d5d5d5;
    color: #1f2937;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.trial-text {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 2rem;
    font-weight: 700;
}

.stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-direction: row;
}

.stat-avatars {
    display: flex;
    align-items: center;
}

.stat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.stat-avatar:first-child {
    margin-left: 0;
}

.stat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-text {
    margin-left: 0.5rem;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.2rem;
    white-space: nowrap;
}

.stat-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-direction: row;
}

.rating-star {
    color: #f59e0b;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.robot-illustration {
    max-width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.robot-illustration img {
    max-width: 100%;
    width: 450px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {

    .login-container,
    .forgot-container,
    .reset-container {
        flex-direction: column;
        max-width: 400px;
    }

    .illustration-section {
        display: none;
    }

    .login-form-section,
    .forgot-form-section,
    .reset-form-section {
        padding: 30px 20px;
    }

    .language-dropdown {
        right: auto;
        left: 0;
    }

    /* Welcome Page Mobile Styles */
    .hero-heading {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-card {
        margin: 2rem 1rem;
        padding: 3rem 2rem;
    }

    .robot-illustration {
        padding: 0.5rem;
    }

    .robot-illustration img {
        max-width: 220px;
    }

    .auth-robot-illustration {
        width: 250px;
        height: 250px;
    }

    .ai-badge {
        font-size: 0.8rem;
        padding: 0.3rem 1rem;
    }
}