/* Custom Popup Form Styles */

/* Modal Overlay */
.custom-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
}

.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000000;
}

/* Main Container */
.multi-step-form {
    background: #1A1D26;
    border-radius: 24px;
    padding: 40px;
    color: white;
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    z-index: 1000001;
}

/* Close Button */
.custom-popup-close {
    position: absolute;
    top: -37px;
    right: -30px;
    background: none;
    border: none;
    color: white;
    font-size: 34px;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 1000002;
}
/* Header */
.form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.form-title {
    font-size: 24px;
    font-weight: 500;
    color: white;
    margin: 0;
}

/* Progress Bar */
.form-progress {
    margin-bottom: 60px;
}

.progress-container {
    position: relative;
    padding: 0;
    margin: 0 40px;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 8px;
    right: 8px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
}

.progress-completed {
    position: absolute;
    top: 50%;
    left: 0;
    height: 6px;
    background: #6C5CE7;
    transform: translateY(-50%);
    transition: width 0.3sease;
    width: 0;
}

.progress-dots {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dot {
    width: 15px;
    height: 15px;
    background: rgb(97 97 97);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.3sease;
}

.dot.active {
    background: #6C5CE7;
}

.dot-label {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.dot.active .dot-label {
    color: white;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: white;
    font-weight: 500;
}

/* Option Grid */
.option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 40px;
    margin-bottom: 40px;
}

.option-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-box:hover,
.option-box.selected {
    background: #6C5CE7;
    border-color: #6C5CE7;
}

.option-text {
    font-size: 18px;
    font-weight: 500;
    color: white;
}

/* Form Inputs */
.form-inputs {
    padding: 0 40px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    color: white;
    font-size: 16px;
    margin-bottom: 16px;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 0 40px;
    margin-top: 40px;
}

/* Geri Butonu */
.prev-step {
    width: 56px;
    height: 56px;
    background-color: #6C5CE7 !important;
    border: 2px solid #6C5CE7 !important;
    border-radius: 12px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-step:hover {
    background-color: #5457d6 !important;
    border-color: #5457d6 !important;
}

.prev-step svg path {
    stroke: white;
}

/* İleri Butonu */
.next-step {
    background-color: #6C5CE7 !important;
    border: 2px solid #6C5CE7 !important;
    border-radius: 12px;
    padding: 16px 32px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.3s ease;
}

.next-step.active {
    opacity: 1;
    pointer-events: auto;
}

.next-step:hover {
    background-color: #5457d6 !important;
    border-color: #5457d6 !important;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .multi-step-form {
        margin: 20px;
        padding: 20px;
    }
    
    .option-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .form-inputs {
        padding: 0 20px;
    }
    
    .form-navigation {
        padding: 0 20px;
    }
    
    .progress-container {
        margin: 0 20px;
    }
    
    .dot-label {
        font-size: 12px;
    }
}