/* ============================================
   USER AUTH & PROFILE PAGES - MODERN CSS
   register.php, login.php, profile.php, etc.
   ============================================ */

/* ============================================
   AUTH SECTION (Login, Register, etc.)
   ============================================ */

.auth-section {
    min-height: calc(100vh - 400px);
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.auth-container--narrow {
    grid-template-columns: 1fr;
    max-width: 600px;
}

/* ============================================
   AUTH INFO (Sol taraf - İllüstrasyon)
   ============================================ */

.auth-info {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0097b2 0%, #007a92 100%);
    border-radius: 24px;
    padding: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.auth-info__content {
    position: relative;
    z-index: 1;
}

.auth-info__icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.auth-info__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.auth-info__text {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.auth-info__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-info__features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.auth-info__features i {
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* ============================================
   AUTH FORM CARD
   ============================================ */

.auth-form-wrapper {
    display: flex;
    align-items: center;
}

.auth-form-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-form-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #0097b2, #007a92);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.auth-form-icon--success {
    background: linear-gradient(135deg, #10B981, #059669);
}

.auth-form-icon--error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.auth-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.auth-form-subtitle {
    font-size: 1rem;
    color: #6B7280;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

.auth-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    color: #0097b2;
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #F9FAFB;
}

.form-input:focus {
    outline: none;
    border-color: #0097b2;
    background: white;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-input.error {
    border-color: #EF4444;
    background: #FEF2F2;
}

.form-input:disabled {
    background: #F3F4F6;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-error {
    display: block;
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-hint {
    display: block;
    color: #6B7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.required {
    color: #EF4444;
}

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

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #0097b2;
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: #0097b2;
}

.form-checkbox__label {
    font-size: 0.95rem;
    color: #4B5563;
}

.form-checkbox__label a {
    color: #0097b2;
    text-decoration: none;
}

.form-checkbox__label a:hover {
    text-decoration: underline;
}

/* Form Row */
.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-link {
    color: #0097b2;
    text-decoration: none;
    font-size: 0.95rem;
}

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

/* ============================================
   ALERTS
   ============================================ */

.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.alert--success {
    background: #ECFDF5;
    border: 1px solid #10B981;
    color: #065F46;
}

.alert--success i {
    color: #10B981;
}

.alert--error {
    background: #FEF2F2;
    border: 1px solid #EF4444;
    color: #991B1B;
}

.alert--error i {
    color: #EF4444;
}

.alert--warning {
    background: #FFFBEB;
    border: 1px solid #F59E0B;
    color: #92400E;
}

.alert--warning i {
    color: #F59E0B;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn--full {
    width: 100%;
}

/* ============================================
   AUTH FOOTER
   ============================================ */

.auth-form-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
    text-align: center;
}

.auth-form-footer p {
    color: #6B7280;
    font-size: 0.95rem;
}

.auth-form-footer a {
    color: #0097b2;
    text-decoration: none;
    font-weight: 600;
}

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

/* ============================================
   PROFILE SECTION
   ============================================ */

.profile-section {
    padding: 4rem 0;
    background: #F9FAFB;
    min-height: calc(100vh - 400px);
}

.profile-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.profile-container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   PROFILE SIDEBAR
   ============================================ */

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.profile-card__header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    position: relative;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #E5E7EB;
}

.profile-avatar__placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #0097b2, #007a92);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.profile-verified {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #10B981;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.profile-email {
    color: #6B7280;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.profile-card__stats {
    padding: 1.5rem 0;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-stat i {
    font-size: 1.5rem;
    color: #0097b2;
}

.profile-stat__info {
    flex: 1;
}

.profile-stat__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
}

.profile-stat__label {
    display: block;
    font-size: 0.875rem;
    color: #6B7280;
}

.profile-card__actions {
    padding-top: 1.5rem;
}

/* Profile Navigation */
.profile-nav {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.profile-nav__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #4B5563;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.profile-nav__item:hover {
    background: #F9FAFB;
    border-left-color: #0097b2;
    color: #0097b2;
}

.profile-nav__item i {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
}

.profile-nav__item--admin {
    background: #FEF3C7;
    color: #92400E;
}

.profile-nav__item--admin:hover {
    background: #FDE68A;
}

.profile-nav__item--logout {
    color: #DC2626;
}

.profile-nav__item--logout:hover {
    background: #FEF2F2;
    border-left-color: #DC2626;
}

/* ============================================
   PROFILE CONTENT
   ============================================ */

.profile-info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.profile-info-card__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 2rem;
}

.profile-info-card__title i {
    color: #0097b2;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-info-item {}

.profile-info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.profile-info-label i {
    color: #0097b2;
}

.profile-info-value {
    font-size: 1.125rem;
    color: #1F2937;
    font-weight: 500;
}

.profile-info-card__actions {
    display: flex;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.813rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.badge--success {
    background: #ECFDF5;
    color: #065F46;
}

.badge--warning {
    background: #FFFBEB;
    color: #92400E;
}

/* Security Checklist */
.security-checklist {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #E5E7EB;
}

.security-item--success {
    background: #F0FDF4;
    border-color: #10B981;
}

.security-item--warning {
    background: #FFFBEB;
    border-color: #F59E0B;
}

.security-item i {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.security-item--success i {
    color: #10B981;
}

.security-item--warning i {
    color: #F59E0B;
}

.security-item__content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.security-item__content p {
    color: #6B7280;
    font-size: 0.95rem;
}

.text-link {
    color: #0097b2;
    text-decoration: none;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (max-width: 1024px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        flex-direction: row;
        gap: 1rem;
    }

    .profile-card,
    .profile-nav {
        flex: 1;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-info {
        display: none;
    }

    .auth-form-card {
        padding: 2rem;
    }

    .auth-form-title {
        font-size: 1.75rem;
    }

    .profile-sidebar {
        flex-direction: column;
    }

    .profile-info-card {
        padding: 1.5rem;
    }

    .profile-info-card__actions {
        flex-direction: column;
    }

    .auth-section {
        padding: 2rem 0;
    }
}

@media screen and (max-width: 480px) {
    .auth-form-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .profile-card {
        padding: 1.5rem;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 1.25rem;
    }
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1.5rem;
}