/* ====================================
   🎨 ULTRA-MODERN FRONTEND FORMS
   Ana Sayfa + Modal Formları
   Glassmorphism + Gradient + Animations
   ==================================== */

/* ========== MODERN MODAL STYLES ========== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(249,250,251,0.98) 100%);
    border-radius: 32px;
    padding: 0;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.15),
        0 10px 30px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.9);
    border: 2px solid rgba(255,255,255,0.8);
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

[data-theme="dark"] .modal-content {
    background: linear-gradient(135deg, rgba(30,30,35,0.98) 0%, rgba(20,20,25,0.98) 100%);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.4),
        0 10px 30px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

/* Animated background gradient */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.02) 0%, 
        rgba(147, 51, 234, 0.02) 50%, 
        rgba(236, 72, 153, 0.02) 100%);
    pointer-events: none;
    animation: gradientShift 8s ease infinite;
}

/* Modal Header */
.modal-header {
    padding: 2.5rem 2.5rem 1.5rem;
    position: relative;
    z-index: 1;
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1f2937 0%, #4b5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .modal-header h2 {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-header p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

[data-theme="dark"] .modal-header p {
    color: #9ca3af;
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

[data-theme="dark"] .modal-close {
    background: rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: rotate(90deg) scale(1.1);
}

/* Modal Body */
.modal-body {
    padding: 0 2.5rem 2.5rem;
    position: relative;
    z-index: 1;
    overflow-y: auto !important; /* ✅ Scroll zorla */
    max-height: calc(90vh - 200px);
    overscroll-behavior: contain; /* Dış scroll'u engelle */
}

/* Form wizard içindeki body için özel */
.modal-body .form-wizard {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: none; /* Yükseklik sınırlamasını kaldır */
}

/* Form step'lerin scrollable olması için */
.form-step {
    overflow-y: auto !important;
    max-height: calc(90vh - 350px);
    padding-right: 1rem; /* Scrollbar için boşluk */
}

/* Scrollbar stilleri */
.modal-body::-webkit-scrollbar,
.form-step::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track,
.form-step::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb,
.form-step::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover,
.form-step::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* ========== AUTH FORMS (LOGIN/REGISTER) ========== */

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

.auth-form .form-group {
    margin-bottom: 1.75rem;
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
}

.auth-form .form-group:nth-child(1) { animation-delay: 0.1s; }
.auth-form .form-group:nth-child(2) { animation-delay: 0.2s; }
.auth-form .form-group:nth-child(3) { animation-delay: 0.3s; }
.auth-form .form-group:nth-child(4) { animation-delay: 0.4s; }

.auth-form label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

[data-theme="dark"] .auth-form label {
    color: #e5e7eb;
}

.auth-form .input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-form .input-group i {
    position: absolute;
    left: 1.25rem;
    color: #9ca3af;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.auth-form input {
    width: 100%;
    padding: 1.125rem 1.25rem 1.125rem 3.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(229, 231, 235, 0.8);
    border-radius: 16px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .auth-form input {
    background: rgba(30, 30, 35, 0.8);
    border-color: rgba(75, 85, 99, 0.5);
    color: #f9fafb;
}

.auth-form input:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}

.auth-form input:focus {
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 4px 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.auth-form input:focus + i,
.auth-form .input-group:focus-within i {
    color: #3b82f6;
    transform: scale(1.1);
}

[data-theme="dark"] .auth-form input:focus {
    background: rgba(30, 30, 35, 0.95);
}

.auth-form input::placeholder {
    color: #9ca3af;
}

.auth-form small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
}

[data-theme="dark"] .auth-form small {
    color: #9ca3af;
}

/* Auth Buttons */
.auth-form .btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1.125rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 16px;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    letter-spacing: -0.01em;
}

.auth-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.auth-form .btn:active {
    transform: translateY(-1px);
}

.auth-form .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
}

.auth-form .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.auth-form .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.auth-form .btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed rgba(229, 231, 235, 0.5);
    color: #6b7280;
    font-size: 0.95rem;
}

[data-theme="dark"] .auth-switch {
    border-top-color: rgba(75, 85, 99, 0.3);
    color: #9ca3af;
}

.auth-switch a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.auth-switch a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    transition: width 0.3s ease;
}

.auth-switch a:hover {
    color: #8b5cf6;
}

.auth-switch a:hover::after {
    width: 100%;
}

/* ========== INSURANCE QUOTE FORMS ========== */

.quote-form {
    position: relative;
    z-index: 1;
}

/* Form Wizard Container */
.form-wizard {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

/* Wizard Progress (Step Indicators) */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    gap: 1rem;
    flex-shrink: 0;
    padding: 0 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 200px;
    position: relative;
    text-align: center;
}

.progress-step .step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(229, 231, 235, 0.5);
    border: 3px solid rgba(229, 231, 235, 0.8);
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .progress-step .step-icon {
    background: rgba(75, 85, 99, 0.3);
    border-color: rgba(75, 85, 99, 0.5);
}

.progress-step.active .step-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-color: #3b82f6;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.progress-step.completed .step-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: white;
}

.progress-step.completed .step-icon::before {
    content: '✓';
    position: absolute;
    font-size: 1.8rem;
    font-weight: bold;
}

.progress-step-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.4;
}

[data-theme="dark"] .progress-step-label {
    color: #9ca3af;
}

.progress-step.active .progress-step-label {
    color: #3b82f6;
    font-weight: 600;
}

.progress-step.completed .progress-step-label {
    color: #10b981;
}

/* Progress Line Connector */
.progress-line {
    top: 35px;
    left: 0%;
    width: calc(100% - 60px);
    height: 4px;
    background: rgba(229, 231, 235, 0.5);
    z-index: 1;
}

[data-theme="dark"] .progress-line {
    background: rgba(75, 85, 99, 0.3);
}

.progress-step:first-child .progress-line {
    display: none;
}

.progress-step.completed .progress-line {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

/* Form Steps */
.form-steps {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.step {
    flex: 1;
    max-width: 150px;
    position: relative;
    text-align: center;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(229, 231, 235, 0.5);
    border: 3px solid rgba(229, 231, 235, 0.8);
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .step-circle {
    background: rgba(75, 85, 99, 0.3);
    border-color: rgba(75, 85, 99, 0.5);
}

.step.active .step-circle {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-color: #3b82f6;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.step.completed .step-circle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: white;
}

.step.completed .step-circle::after {
    content: '✓';
    position: absolute;
    font-size: 1.2rem;
}

.step-label {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

[data-theme="dark"] .step-label {
    color: #9ca3af;
}

.step.active .step-label {
    color: #3b82f6;
    font-weight: 600;
}

.step.completed .step-label {
    color: #10b981;
}

/* Step Connector Line */
.step::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    width: calc(100% - 50px);
    height: 3px;
    background: rgba(229, 231, 235, 0.5);
    z-index: 0;
}

[data-theme="dark"] .step::before {
    background: rgba(75, 85, 99, 0.3);
}

.step:first-child::before {
    display: none;
}

.step.completed::before {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

/* Form Step Content */
.form-step {
    flex: 1;
    min-height: 0;
    display: block; /* Her step başlangıçta blok olarak render edilir */
    animation: fadeInSlide 0.5s ease forwards;
}

.form-step h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

[data-theme="dark"] .form-step h3 {
    color: #f9fafb;
}

.form-step h3 i {
    color: #3b82f6;
}

/* Eğer multiple step varsa sadece ilkini göster (JavaScript override edecek) */
.form-wizard .form-step {
    display: block;
}

.form-wizard .form-step ~ .form-step {
    display: none; /* İlk step hariç diğerlerini gizle */
}

/* JavaScript ile .active eklenmişse göster */
.form-step.active {
    display: block !important;
}

.form-step.hidden {
    display: none !important;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Quote Form Groups */
.quote-form .form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

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

[data-theme="dark"] .quote-form label {
    color: #e5e7eb;
}

.quote-form label i {
    color: #3b82f6;
    font-size: 1rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 1.125rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(229, 231, 235, 0.8);
    border-radius: 16px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    font-family: inherit;
}

[data-theme="dark"] .quote-form input,
[data-theme="dark"] .quote-form select,
[data-theme="dark"] .quote-form textarea {
    background: rgba(30, 30, 35, 0.8);
    border-color: rgba(75, 85, 99, 0.5);
    color: #f9fafb;
}

.quote-form input:hover,
.quote-form select:hover,
.quote-form textarea:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 4px 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

[data-theme="dark"] .quote-form input:focus,
[data-theme="dark"] .quote-form select:focus,
[data-theme="dark"] .quote-form textarea:focus {
    background: rgba(30, 30, 35, 0.95);
}

.quote-form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.quote-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

/* Checkbox & Radio Styles */
.quote-form .checkbox-group,
.quote-form .radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quote-form .checkbox-item,
.quote-form .radio-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(229, 231, 235, 0.8);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="dark"] .quote-form .checkbox-item,
[data-theme="dark"] .quote-form .radio-item {
    background: rgba(30, 30, 35, 0.5);
    border-color: rgba(75, 85, 99, 0.5);
}

.quote-form .checkbox-item:hover,
.quote-form .radio-item:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(5px);
}

.quote-form input[type="checkbox"],
.quote-form input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: #3b82f6;
}

.quote-form .checkbox-item label,
.quote-form .radio-item label {
    margin: 0;
    cursor: pointer;
    flex: 1;
}

/* Form Navigation Buttons */
.form-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px dashed rgba(229, 231, 235, 0.5);
}

[data-theme="dark"] .form-navigation {
    border-top-color: rgba(75, 85, 99, 0.3);
}

.form-navigation .btn {
    flex: 1;
    padding: 1.125rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 16px;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    letter-spacing: -0.01em;
}

.form-navigation .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.form-navigation .btn:active {
    transform: translateY(-1px);
}

.form-navigation .btn-secondary {
    background: rgba(107, 114, 128, 0.1);
    color: #4b5563;
    border: 2px solid rgba(107, 114, 128, 0.2);
}

[data-theme="dark"] .form-navigation .btn-secondary {
    background: rgba(75, 85, 99, 0.2);
    color: #9ca3af;
    border-color: rgba(75, 85, 99, 0.4);
}

.form-navigation .btn-secondary:hover {
    background: rgba(107, 114, 128, 0.15);
    border-color: rgba(107, 114, 128, 0.3);
}

.form-navigation .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
}

.form-navigation .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.form-navigation .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.form-navigation .btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

/* Grid Layout for Forms */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Input with Icon */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.input-with-icon input {
    padding-left: 3.25rem;
}

.input-with-icon input:focus + i {
    color: #3b82f6;
    transform: translateY(-50%) scale(1.1);
}

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

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: none;
        border-radius: 24px;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 2rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 0 1.5rem 1.5rem;
    }
    
    .form-grid,
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .form-steps {
        gap: 0.5rem;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .form-navigation {
        flex-direction: column-reverse;
    }
    
    .form-navigation .btn {
        width: 100%;
    }
}

/* ========== ANIMATIONS ========== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0%, 100% { 
        opacity: 1; 
        transform: translateX(0) translateY(0); 
    }
    50% { 
        opacity: 0.8; 
        transform: translateX(10px) translateY(-5px); 
    }
}

/* ========== SUCCESS MESSAGE ========== */

.success-message {
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeInScale 0.6s ease forwards;
}

.success-message i {
    font-size: 4rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 1.5rem;
    animation: successPulse 2s ease-in-out infinite;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-message h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

[data-theme="dark"] .success-message h3 {
    color: #f9fafb;
}

.success-message p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

[data-theme="dark"] .success-message p {
    color: #9ca3af;
}

.success-message .btn {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.success-message .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}
