/* Success Modal - Tamamen Ayrı CSS */
.success-modal-overlay {
    display: none;
    position: fixed;
    z-index: 99999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: successFadeIn 0.3s ease;
}

.success-modal-overlay.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.success-modal-content {
    background: white;
    margin: 50px auto 0 auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: successSlideIn 0.3s ease;
    overflow: hidden;
    position: relative;
}

.success-modal-header {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.success-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.success-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.success-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.success-modal-body {
    padding: 2rem;
    text-align: center;
}

.success-modal-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
    animation: successBounceIn 0.6s ease;
}

.success-modal-icon i {
    animation: successCheckmark 0.5s ease 0.3s both;
}

.success-modal-body h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.success-modal-body p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.success-modal-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.success-modal-benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.success-modal-benefit i {
    color: #2563eb;
    font-size: 1.2rem;
}

.success-modal-benefit span {
    font-weight: 600;
    color: #1f2937;
}

.success-modal-footer {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    text-align: center;
}

.success-modal-btn {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.success-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Loading Overlay */
.success-loading-overlay {
    display: none;
    position: fixed;
    z-index: 99999998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.success-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.success-loading-spinner i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.success-loading-spinner p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Animations */
@keyframes successFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes successBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes successCheckmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Success Modal */
@media (max-width: 768px) {
    .success-modal-content {
        width: 95%;
    }
    
    .success-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .success-modal-header h3 {
        font-size: 1.3rem;
    }
    
    .success-modal-body {
        padding: 1.5rem;
    }
    
    .success-modal-icon {
        font-size: 3rem;
    }
    
    .success-modal-body h4 {
        font-size: 1.3rem;
    }
    
    .success-modal-footer {
        padding: 1rem 1.5rem;
    }
} 
.success-modal-overlay {
    display: none;
    position: fixed;
    z-index: 99999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: successFadeIn 0.3s ease;
}

.success-modal-overlay.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.success-modal-content {
    background: white;
    margin: 50px auto 0 auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: successSlideIn 0.3s ease;
    overflow: hidden;
    position: relative;
}

.success-modal-header {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.success-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.success-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.success-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.success-modal-body {
    padding: 2rem;
    text-align: center;
}

.success-modal-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
    animation: successBounceIn 0.6s ease;
}

.success-modal-icon i {
    animation: successCheckmark 0.5s ease 0.3s both;
}

.success-modal-body h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.success-modal-body p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.success-modal-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.success-modal-benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.success-modal-benefit i {
    color: #2563eb;
    font-size: 1.2rem;
}

.success-modal-benefit span {
    font-weight: 600;
    color: #1f2937;
}

.success-modal-footer {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    text-align: center;
}

.success-modal-btn {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.success-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Loading Overlay */
.success-loading-overlay {
    display: none;
    position: fixed;
    z-index: 99999998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.success-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.success-loading-spinner i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.success-loading-spinner p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Animations */
@keyframes successFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes successBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes successCheckmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Success Modal */
@media (max-width: 768px) {
    .success-modal-content {
        width: 95%;
    }
    
    .success-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .success-modal-header h3 {
        font-size: 1.3rem;
    }
    
    .success-modal-body {
        padding: 1.5rem;
    }
    
    .success-modal-icon {
        font-size: 3rem;
    }
    
    .success-modal-body h4 {
        font-size: 1.3rem;
    }
    
    .success-modal-footer {
        padding: 1rem 1.5rem;
    }
} 