/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal.show .modal-content {
    transform: translateY(0);
}

/* Kapatma Düğmesi */
.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    z-index: 10;
}

.close:hover {
    color: #000;
}

/* Modal İçeriği */
.modal-step {
    display: none;
    padding: 25px;
}

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

/* Başlıklar */
.modal-step h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Plan Seçici */
.plan-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.plan {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    background-color: #f9f9f9;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.plan:hover, .plan.selected {
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.plan.selected {
    background-color: rgba(var(--primary-rgb), 0.05);
}

.plan h4 {
    margin-top: 0;
    color: #333;
    font-size: 1rem;
}

.plan .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0;
}

.plan .price span {
    font-size: 0.8rem;
    opacity: 0.7;
}

.plan ul {
    padding: 0;
    margin: 10px 0;
    list-style-type: none;
    text-align: left;
}

.plan ul li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

.plan .select-plan {
    margin-top: 10px;
    width: 100%;
}

/* Formlar */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

/* Ödeme Özeti */
.summary {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    border-bottom: none;
}

/* Navigation Buttons */
.modal-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.modal-navigation button {
    padding: 10px 20px;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .plan-selector {
        flex-direction: column;
    }
    
    .plan {
        max-width: 100%;
    }
}
