/* ==========================================================================
   WEBDGR Login/Register System - Kurumsal Tasarım
   Modern, Kompakt, Profesyonel
   ========================================================================== */

/* Reset ve Base Stiller */
.clr-container * {
    box-sizing: border-box;
}

.clr-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    max-width: 380px;
    margin: 30px auto;
    padding: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* ==========================================================================
   Kart Yapısı - Bootstrap Benzeri
   ========================================================================== */

.clr-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 16px 32px rgba(0, 0, 0, 0.04);
    padding: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.clr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    border-radius: 24px 24px 0 0;
}

/* Card Header */
.clr-card-header {
    padding: 24px 28px 16px;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
}

.clr-card-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.02em;
}

.clr-card-subtitle {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    font-weight: 400;
}

/* Card Body */
.clr-card-body {
    padding: 24px 28px;
}

/* Card Footer */
.clr-card-footer {
    padding: 16px 28px 24px;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
    border-radius: 0 0 24px 24px;
}

/* ==========================================================================
   Form Elemanları - Bootstrap Benzeri
   ========================================================================== */

.clr-form {
    width: 100%;
}

.clr-form-group {
    margin-bottom: 18px;
}

.clr-form-label {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 6px;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Input Group */
.clr-input-group {
    position: relative;
    display: flex;
    width: 100%;
}

.clr-form-control {
    flex: 1;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s cubic-bezier(0.2, 0, 0.38, 0.9);
    background: #ffffff;
    color: #111827;
    outline: none;
    font-family: inherit;
}

.clr-form-control::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.clr-form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
    background: #ffffff;
}

.clr-form-control:invalid:not(:focus) {
    border-color: #ef4444;
}

.clr-form-control.clr-invalid {
    border-color: #ef4444;
    background: #fef2f2;
}

.clr-form-control.clr-valid {
    border-color: #10b981;
}

/* Input Group Append */
.clr-input-group-append {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.clr-input-group-append:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.06);
}

/* ==========================================================================
   Checkbox & Form Check
   ========================================================================== */

.clr-form-check {
    margin: 16px 0;
}

.clr-form-check-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #6b7280;
    gap: 10px;
    line-height: 1.4;
}

.clr-form-check-input {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.clr-form-check-input:checked {
    background: #6366f1;
    border-color: #6366f1;
}

.clr-form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: 600;
}

.clr-form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.clr-form-check-indicator {
    /* Bu span artık kullanılmıyor ama uyumluluk için bırakıldı */
}

.clr-form-check-text {
    /* Text wrapper */
}

/* ==========================================================================
   Butonlar - Bootstrap Benzeri
   ========================================================================== */

.clr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0, 0.38, 0.9);
    font-family: inherit;
    letter-spacing: 0.01em;
    text-decoration: none;
    line-height: 1;
}

.clr-btn-block {
    width: 100%;
}

.clr-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(99, 102, 241, 0.15);
}

.clr-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
    transform: translateY(-1px);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(99, 102, 241, 0.2);
}

.clr-btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(99, 102, 241, 0.15);
}

.clr-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.clr-btn-text {
    /* Button text wrapper */
}

/* ==========================================================================
   Spinner - Modern
   ========================================================================== */

.clr-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.clr-spinner-border {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: clr-spin 0.8s linear infinite;
}

@keyframes clr-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Links & Navigation
   ========================================================================== */

.clr-link-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.clr-link-group-center {
    justify-content: center;
    text-align: center;
}

.clr-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.2s ease;
}

.clr-link:hover {
    color: #4f46e5;
}

.clr-link-primary {
    color: #6366f1;
}

.clr-link-secondary {
    color: #6b7280;
}

.clr-link-secondary:hover {
    color: #4b5563;
}

.clr-text-muted {
    color: #9ca3af;
    font-size: 13px;
}

/* ==========================================================================
   Alert System
   ========================================================================== */

.clr-alert-container {
    margin-top: 12px;
}

.clr-alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid;
    animation: clr-slideIn 0.3s ease-out;
}

.clr-alert-success {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.clr-alert-error {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.clr-alert-warning {
    background: #fffbeb;
    color: #d97706;
    border-color: #fed7aa;
}

.clr-alert-info {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

/* Field Error Messages */
.clr-field-error {
    color: #ef4444 !important;
    font-size: 11px !important;
    margin-top: 4px !important;
    font-weight: 500 !important;
    display: block;
}

/* ==========================================================================
   İkonlar - Modern
   ========================================================================== */

.clr-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    opacity: 0.8;
}

.clr-icon-user::before { content: '👤'; }
.clr-icon-lock::before { content: '🔒'; }
.clr-icon-email::before { content: '✉️'; }
.clr-icon-eye::before { content: '👁️'; }
.clr-icon-help::before { content: '❓'; }
.clr-icon-user-plus::before { content: '👥'; }
.clr-icon-sign-in::before { content: '🔑'; }

/* ==========================================================================
   Backward Compatibility - Eski CSS Sınıfları
   ========================================================================== */

/* Eski sınıfları yeni sınıflara yönlendir */
.clr-header { @extend .clr-card-header; }
.clr-title { @extend .clr-card-title; }
.clr-footer { @extend .clr-card-footer; }
.clr-field-group { @extend .clr-form-group; }
.clr-label { @extend .clr-form-label; }
.clr-input { @extend .clr-form-control; }
.clr-button { @extend .clr-btn; }
.clr-button-primary { @extend .clr-btn-primary; }
.clr-checkbox-group { @extend .clr-form-check; }
.clr-checkbox-label { @extend .clr-form-check-label; }
.clr-checkbox { @extend .clr-form-check-input; }
.clr-message-container { @extend .clr-alert-container; }
.clr-message { @extend .clr-alert; }
.clr-loading-spinner { @extend .clr-spinner-border; }

/* Manuel Uyumluluk - @extend çalışmazsa */
.clr-header {
    padding: 24px 28px 16px;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
}

.clr-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.02em;
}

.clr-footer {
    padding: 16px 28px 24px;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
    border-radius: 0 0 24px 24px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.clr-field-group {
    margin-bottom: 18px;
}

.clr-label {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 6px;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.clr-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s cubic-bezier(0.2, 0, 0.38, 0.9);
    background: #ffffff;
    color: #111827;
    outline: none;
    font-family: inherit;
}

.clr-button {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0, 0.38, 0.9);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.clr-button-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(99, 102, 241, 0.15);
}

.clr-checkbox-group {
    margin: 16px 0;
}

.clr-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #6b7280;
    gap: 10px;
    line-height: 1.4;
}

.clr-checkbox {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.clr-message-container {
    margin-top: 12px;
}

.clr-message {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid;
    animation: clr-slideIn 0.3s ease-out;
}

.clr-loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: clr-spin 0.8s linear infinite;
}

/* Password Toggle Uyumluluğu */
.clr-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.clr-separator {
    margin: 0 8px;
    color: #d1d5db;
}

/* ==========================================================================
   Stil Varyasyonları
   ========================================================================== */

/* Modern Stil - Bootstrap İlhamlı */
.clr-style-modern .clr-card {
    background: #ffffff;
    border: 1px solid #dee2e6; /* Bootstrap card border color */
    border-radius: 0.75rem; /* Daha oval */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Bootstrap card shadow */
    transition: all 0.3s ease-in-out;
}

.clr-style-modern .clr-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.clr-style-modern .clr-card::before {
    background: linear-gradient(135deg, #6f42c1 0%, #007bff 100%); /* Modern gradient */
    height: 5px;
    border-radius: 0.75rem 0.75rem 0 0; /* Uyumlu border-radius */
}

.clr-style-modern .clr-card-header {
    padding: 1rem 1.25rem; /* Bootstrap card-header padding */
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125);
    margin-bottom: 0; /* Reset margin for header */
    text-align: center;
    border-radius: 0.75rem 0.75rem 0 0; /* Header üst köşeleri oval */
}

.clr-style-modern .clr-card-title {
    font-size: 1.25rem; /* Bootstrap card-title size */
    font-weight: 500;
    color: #343a40;
}

.clr-style-modern .clr-card-body {
    padding: 1.25rem; /* Bootstrap card-body padding */
}

.clr-style-modern .clr-form-control,
.clr-style-modern .clr-input {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem; /* Daha generous padding */
    font-size: 0.9rem; /* Bootstrap form-control font-size */
    font-weight: 400;
    line-height: 1.6;
    color: #495057; /* Bootstrap form-control color */
    background-color: #f8f9fa; /* Hafif gri arka plan */
    background-clip: padding-box;
    border: 1px solid #e9ecef; /* Daha soft border */
    border-radius: 1rem; /* Çok daha oval */
    transition: all .2s ease-in-out;
    appearance: none; /* Remove default styling */
}

.clr-style-modern .clr-form-control::placeholder,
.clr-style-modern .clr-input::placeholder {
    color: #6c757d; /* Bootstrap form-control placeholder */
    opacity: 1;
}

.clr-style-modern .clr-form-control:focus,
.clr-style-modern .clr-input:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff; /* Bootstrap form-control focus border */
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); /* Bootstrap form-control focus shadow */
}

/* Invalid ve Valid Stilleri - Subtle veya Yok */
.clr-style-modern .clr-form-control.clr-invalid,
.clr-style-modern .clr-input.clr-invalid {
    border-color: #e9ecef; /* Normal kenarlık kalsın */
    background-color: #f8f9fa; /* Normal arka plan kalsın */
}

.clr-style-modern .clr-form-control.clr-valid,
.clr-style-modern .clr-input.clr-valid {
    border-color: #e9ecef; /* Normal kenarlık kalsın */
    background-color: #f8f9fa; /* Normal arka plan kalsın */
}

/* Invalid durumda da normal focus davranışı */
.clr-style-modern .clr-form-control.clr-invalid:focus,
.clr-style-modern .clr-input.clr-invalid:focus {
    border-color: #80bdff; /* Focus'ta yine mavi */
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.clr-style-modern .clr-form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    text-transform: none;
    letter-spacing: normal;
}

.clr-style-modern .clr-form-group {
    margin-bottom: 1rem; /* Bootstrap form-group margin */
}

/* Şifre Toggle - SVG İkon ile Modern Tasarım */
.clr-style-modern .clr-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.clr-style-modern .clr-input-group-append,
.clr-style-modern .clr-password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    z-index: 10;
}

.clr-style-modern .clr-input-group-append:hover,
.clr-style-modern .clr-password-toggle:hover {
    background-color: rgba(0,123,255,0.1);
}

/* SVG İkon Stilleri */
.clr-style-modern .clr-password-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: #6c757d;
    transition: fill 0.2s ease;
}

.clr-style-modern .clr-password-toggle:hover svg {
    fill: #007bff;
}

/* İkonlar için de normal renkler */
.clr-style-modern .clr-form-label .clr-icon {
    color: #6c757d; /* Normal gri renk */
}

.clr-style-modern .clr-form-check-label {
    font-size: 0.875rem;
    color: #495057;
}

.clr-style-modern .clr-form-check-input,
.clr-style-modern .clr-checkbox {
    border-radius: 0.35rem; /* Daha oval checkbox */
    border-color: #adb5bd;
}

.clr-style-modern .clr-form-check-input:checked,
.clr-style-modern .clr-checkbox:checked {
    background-color: #007bff;
    border-color: #007bff;
}

/* Modern Gradient Buton - Full Width */
.clr-style-modern .clr-btn-primary,
.clr-style-modern .clr-button-primary {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none; /* Kenarlık yok */
    border-radius: 1rem; /* Çok oval */
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Bootstrap primary gradient */
    color: #ffffff; /* Beyaz yazı */
    box-shadow: 0 0.25rem 0.5rem rgba(0, 123, 255, 0.25);
    transition: all 0.2s ease-in-out;
    text-transform: none;
    letter-spacing: normal;
    width: 100%; /* Full genişlik */
    display: block; /* Block element */
}

.clr-style-modern .clr-btn-primary:hover:not(:disabled),
.clr-style-modern .clr-button-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 123, 255, 0.4);
}

.clr-style-modern .clr-btn-primary:active:not(:disabled),
.clr-style-modern .clr-button-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 123, 255, 0.25);
}

.clr-style-modern .clr-card-footer {
    padding: 0.75rem 1.25rem; /* Bootstrap card-footer padding */
    background-color: rgba(0,0,0,.03);
    border-top: 1px solid rgba(0,0,0,.125);
    margin-top: 0; /* Reset margin for footer */
    border-radius: 0 0 0.75rem 0.75rem; /* Footer alt köşeleri oval */
}

.clr-style-modern .clr-link {
    color: #007bff; /* Bootstrap link color */
    font-weight: 500;
}

.clr-style-modern .clr-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.clr-style-modern .clr-alert,
.clr-style-modern .clr-message {
    border-radius: 0.75rem; /* Bootstrap alert border-radius - daha oval */
    font-size: 0.875rem;
}

.clr-style-modern .clr-alert-success,
.clr-style-modern .clr-message.clr-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.clr-style-modern .clr-alert-error,
.clr-style-modern .clr-message.clr-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.clr-style-modern .clr-alert-info,
.clr-style-modern .clr-message.clr-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Minimal Stil */
.clr-style-minimal .clr-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
    background: #ffffff;
    border-radius: 20px;
}

.clr-style-minimal .clr-card::before {
    display: none;
}

.clr-style-minimal .clr-input {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.clr-style-minimal .clr-input:focus {
    border-color: #374151;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.08);
}

.clr-style-minimal .clr-button-primary {
    background: #111827;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.clr-style-minimal .clr-button-primary:hover:not(:disabled) {
    background: #000000;
    transform: translateY(-0.5px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

/* Gradient Stil */
.clr-style-gradient .clr-card {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    color: white;
    border: none;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 20px 25px rgba(99, 102, 241, 0.15);
}

.clr-style-gradient .clr-card::before {
    background: rgba(255, 255, 255, 0.15);
    height: 1px;
}

.clr-style-gradient .clr-title {
    color: white;
}

.clr-style-gradient .clr-label {
    color: rgba(255, 255, 255, 0.9);
}

.clr-style-gradient .clr-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(8px);
}

.clr-style-gradient .clr-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.clr-style-gradient .clr-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.clr-style-gradient .clr-button-primary {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.clr-style-gradient .clr-button-primary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.clr-style-gradient .clr-footer {
    border-top-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.clr-style-gradient .clr-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

.clr-style-gradient .clr-link:hover {
    color: white;
    text-decoration-color: white;
}

.clr-style-gradient .clr-password-toggle {
    color: rgba(255, 255, 255, 0.7);
}

.clr-style-gradient .clr-password-toggle:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Responsive Tasarım
   ========================================================================== */

@media (max-width: 480px) {
    .clr-container {
        padding: 16px;
        margin: 0;
        max-width: 100%;
    }
    
    .clr-card {
        padding: 24px 20px;
        border-radius: 20px;
        margin: 0;
    }
    
    .clr-title {
        font-size: 18px;
    }
    
    .clr-input {
        font-size: 16px; /* iOS zoom önleme */
        padding: 12px 16px;
    }
    
    .clr-button {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .clr-header {
        margin-bottom: 24px;
    }
    
    .clr-footer {
        margin-top: 20px;
        padding-top: 16px;
    }
    
    .clr-field-group {
        margin-bottom: 16px;
    }
}

@media (max-width: 360px) {
    .clr-card {
        padding: 20px 16px;
    }
    
    .clr-button {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Animasyonlar
   ========================================================================== */

.clr-card {
    animation: clr-fadeInUp 0.4s cubic-bezier(0.2, 0, 0.38, 0.9);
}

@keyframes clr-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes clr-slideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus-within effect */
.clr-field-group:focus-within .clr-label {
    color: #6366f1;
}

/* Input animations */
.clr-input {
    transform: translateZ(0);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

@media (prefers-contrast: high) {
    .clr-input {
        border-width: 2px;
    }
    
    .clr-button {
        border: 2px solid transparent;
    }
    
    .clr-button-primary {
        border-color: #111827;
    }
}

@media (prefers-reduced-motion: reduce) {
    .clr-card {
        animation: none;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================================
   Karanlık Mod
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    .clr-card {
        background: #111827;
        color: #f9fafb;
        border-color: #374151;
        box-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.1),
            0 8px 24px rgba(0, 0, 0, 0.15),
            0 16px 32px rgba(0, 0, 0, 0.1);
    }
    
    .clr-title {
        color: #f9fafb;
    }
    
    .clr-label {
        color: #9ca3af;
    }
    
    .clr-input {
        background: #1f2937;
        border-color: #374151;
        color: #f9fafb;
    }
    
    .clr-input::placeholder {
        color: #6b7280;
    }
    
    .clr-input:focus {
        border-color: #6366f1;
        background: #1f2937;
    }
    
    .clr-footer {
        border-top-color: #374151;
        color: #9ca3af;
    }
} 