/* Account Controller CSS */

/* Login ve Register Animasyonları - Kaldırıldı */
/* .login-item-up,
.register-item-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.login-item-left,
.register-item-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out 0.2s forwards;
}

.login-item-right,
.register-item-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease-out 0.4s forwards;
} */

/* Kayıt İşlemi Modal Stilleri */
#registrationModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#registrationModal .modal-header {
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

#registrationModal .modal-body {
    padding: 2rem;
}

/* Hata Durumu Stilleri */
#registrationModal .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 10px;
    margin-bottom: 1rem;
}

#registrationModal .text-danger {
    color: #dc3545 !important;
}

#registrationModal .bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

/* Email Hatası Stilleri */
#registrationModal .bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
}

#registrationModal .alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    color: #856404;
    border-radius: 10px;
    margin-bottom: 1rem;
}

#registrationModal .text-warning {
    color: #856404 !important;
}

/* Ad/Soyad Büyük Harf Stilleri */
#FirstName,
#LastName {
    text-transform: uppercase;
}

#FirstName::placeholder,
#LastName::placeholder {
    text-transform: none;
}

/* Hata Butonları */
#registrationModal .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
}

#registrationModal .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
}

#registrationModal .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
}

#registrationModal .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Kayıt Adımları */
.registration-step {
    transition: all 0.5s ease-in-out;
}

.step-icon {
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 1.2rem;
}

/* Progress Bar Animasyonları */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #f8f9fa;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.1s ease;
    border-radius: 4px;
}

/* Adım Geçişleri */
.registration-step.fade-enter {
    opacity: 0;
    transform: translateY(20px);
}

.registration-step.fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.registration-step.fade-exit {
    opacity: 1;
    transform: translateY(0);
}

.registration-step.fade-exit-active {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
}

/* Form Validasyon Stilleri */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.form-control-success {
    border-color: #198754 !important;
    background-color: #f8fff9;
}

/* Kimlik Bilgileri Getirme Kartı */
.identity-fetch-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.identity-fetch-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Alert Stilleri */
.alert {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

/* Form Kontrol Stilleri */
.form-control {
    background-color: #ffffff !important;
    border-color: #ced4da !important;
    color: #495057 !important;
}

.form-control:focus {
    background-color: #ffffff !important;
    border-color: #80bdff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
    color: #495057 !important;
}

.form-select {
    background-color: #ffffff !important;
    border-color: #ced4da !important;
    color: #495057 !important;
}

.form-select:focus {
    background-color: #ffffff !important;
    border-color: #80bdff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
    color: #495057 !important;
}

/* Buton Stilleri */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-color: #007bff;
}

/* Card Stilleri */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #ffffff !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-bottom: 1px solid #e9ecef;
    border-radius: 15px 15px 0 0 !important;
}

.card-body {
    background-color: #ffffff !important;
}

/* Input Group Stilleri */
.input-group-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #ced4da;
    color: #6c757d;
}

/* Password Strength Bar */
.password-strength {
    height: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.password-strength.weak {
    background-color: #dc3545;
}

.password-strength.fair {
    background-color: #ffc107;
}

.password-strength.good {
    background-color: #17a2b8;
}

.password-strength.strong {
    background-color: #28a745;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .card {
        margin: 1rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .modal-dialog {
        margin: 1rem;
    }
}

/* Animasyon Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

/* Hata Animasyonu */
.shake {
    animation: shake 0.5s ease-in-out;
}

/* Başarı Animasyonu */
.pulse {
    animation: pulse 0.5s ease-in-out;
}

/* Modal Animasyonları */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

/* Progress Bar Animasyonları */
.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* Step Icon Animasyonları */
.step-icon {
    animation: stepIconPulse 2s ease-in-out infinite;
}

@keyframes stepIconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Success Step Icon */
.step-icon.bg-success {
    animation: successIcon 0.5s ease-in-out;
}

@keyframes successIcon {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Form Validation Animasyonları */
.form-control.is-invalid {
    animation: invalidShake 0.5s ease-in-out;
}

@keyframes invalidShake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-2px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(2px);
    }
}

/* Loading Button Animasyonu */
.btn:disabled {
    position: relative;
    overflow: hidden;
}

.btn:disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Alert Animasyonları */
.alert {
    animation: alertSlideIn 0.5s ease-out;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Backdrop Animasyonu */
.modal-backdrop {
    animation: backdropFadeIn 0.3s ease-out;
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.5;
    }
}

/* Responsive Modal */
@media (max-width: 576px) {
    #registrationModal .modal-dialog {
        margin: 0.5rem;
    }

    #registrationModal .modal-body {
        padding: 1rem;
    }

    .registration-step {
        margin-bottom: 1rem;
    }
}

/* Dark Mode Support - Disabled for consistent appearance */
/* @media (prefers-color-scheme: dark) {
    .card {
        background-color: #2d3748;
        color: #e2e8f0;
    }

    .card-header {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        border-bottom-color: #4a5568;
    }

    .form-control {
        background-color: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }

    .form-control:focus {
        background-color: #4a5568;
        border-color: #63b3ed;
        color: #e2e8f0;
    }
} */

/* Şifre Gücü Göstergesi */
.password-strength-meter {
    margin-top: 8px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    background-color: #dc3545;
    width: 25%;
}

.strength-fill.fair {
    background-color: #ffc107;
    width: 50%;
}

.strength-fill.good {
    background-color: #28a745;
    width: 75%;
}

.strength-fill.strong {
    background-color: #007bff;
    width: 100%;
}

.password-requirements {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #e9ecef;
}

.password-requirements ul li {
    margin-bottom: 3px;
    font-size: 0.75rem;
}

.password-requirements ul li i {
    margin-right: 5px;
    font-size: 0.6rem;
}

.password-requirements ul li.valid i {
    color: #28a745;
}

.password-requirements ul li.invalid i {
    color: #dc3545;
}

.password-requirements ul li.valid {
    color: #28a745;
}

.password-requirements ul li.invalid {
    color: #6c757d;
}

/* Şifre Görünürlük Toggle */
.input-group .btn-outline-secondary {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .form-control {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .form-control:focus {
    border-right: none;
    box-shadow: none;
}

.input-group .btn-outline-secondary:focus {
    box-shadow: none;
}