﻿.container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 30px;
    margin-top: 60px;
}

.wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.wizard-title {
    color: #0088cc;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.2;
}

.wizard-subtitle {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
    max-width: 400px;
}

.top-bar {
    width: 100%;
    height: 10px;
    background-color: #0056b3;
    margin-bottom: 30px;
    position: absolute;
    top: 0;
    left: 0;
}

.wizard-steps {
    display: flex;
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: center;
    margin-right: 15px;
    /* opacity: 0.5; */
}

    .step.active {
        opacity: 1;
    }

    .step.completed .step-number {
        background-color: #0056b3;
        color: white;
    }

.step-number {
    width: 36px;
    height: 36px;
    background-color: white;
    border: 2px solid #0088cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0088cc;
    font-weight: bold;
    margin-right: 10px;
}

.step-completed-icon {
    width: 36px;
    height: 36px;
    background-color: #0088cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F9E700;
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
}

.step-text {
    font-size: 16px;
    font-weight: 500;
}

.wizard-content {
    display: none;
}

    .wizard-content.active {
        display: block;
    }

.section-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.address-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 10px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.address-section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.address-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 20px;
}

.change-address-btn {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
}

.success-message {
    text-align: left;
}

.congrats-text {
    color: #218838;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 5px;
}

.success-title {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
}

.speed-info {
    color: #4B0082;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 5px;
}

.speed-label {
    color: #666;
    margin-bottom: 25px;
}

.disclaimer {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-back {
    background-color: white;
    border: none;
    color: #666;
    display: flex;
    align-items: center;
}

.btn-next {
    background-color: #0088cc;
    border: none;
    color: white;
    display: flex;
    align-items: center;
}

    .btn-next:hover {
        background-color: #003d82;
        color:#fff !important;
    }

.subscription-form {
    margin-top: 20px;
}

.packages-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.package-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

    .package-card:hover {
        border-color: #0056b3;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .package-card.selected {
        border-color: #0088cc;
        background-color: rgba(0, 86, 179, 0.05);
    }

.package-speed {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.package-price {
    font-size: 20px;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 15px;
}

.package-features {
    list-style: none;
}

    .package-features li {
        padding: 5px 0;
        display: flex;
        align-items: center;
    }

        .package-features li:before {
            content: "✓";
            color: #218838;
            margin-right: 8px;
        }

.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

    .summary-table tr {
        border-bottom: 1px solid #eee;
    }

    .summary-table td {
        padding: 15px 0;
    }

    .summary-table .summary-label {
        font-weight: 500;
    }

    .summary-table .summary-value {
        text-align: right;
        font-weight: 400;
        color: #666;
    }

.summary-total {
    font-size: 18px;
    font-weight: bold;
}

.user-data-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23464646' 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 15px center;
    background-size: 15px;
    padding-right: 40px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


.btn.btn-next {
    color: #fff;
}

.wizard-content {
    display: none;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-top: 20px;
    background-color: #fff;
}

    .wizard-content.active {
        display: block;
    }

#infrastructure-result {
    border-left: 4px solid #28a745;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.infrastructure-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .infrastructure-icon .fa-check-circle {
        color: #28a745;
    }

    .infrastructure-icon .fa-times-circle {
        color: #dc3545;
    }

.success-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.speed-info {
    color: #007bff;
    font-size: 1.1rem;
}

/* Altyapı yoksa devre dışı buton stilleri */
.btn.disabled, .btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

#no-service-message {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Wizard adım göstergesi stilleri */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Loading spinner */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.change-address-btn {
    flex: 0 0 42px;
    width: 100%;
    height: 42px;
    padding: 0;
    margin-left: auto;
    border: 1px solid #c4c5cf;
    background-color: transparent;
}


.select2-container--bootstrap4 .select2-selection--single {
    border: 1px solid #e5e7eb; /* mavi border */
    border-radius: .25rem; /* Bootstrap form-control radius */
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    height: calc(1.5em + .75rem + 2px); /* form-control yüksekliği */
    padding: .375rem .75rem; /* iç boşluk */
}

/* Focus olduğunda glow efekti */
.select2-container--bootstrap4.select2-container--focus
.select2-selection--single {
    border-color: #e5e7eb;
    /* box-shadow: 0 0 0 .2rem rgba(0,123,255,.25); */
}

/* İçindeki seçili metin hizalaması */
.select2-container--bootstrap4 .select2-selection__rendered {
    line-height: 1.5;
}

/* Aşağı ok ikonunun konumu */
.select2-container--bootstrap4 .select2-selection__arrow {
    height: calc(1.5em + .75rem + 2px);
    top: 0;
    right: .75rem;
}

/* Dropdown’daki arama kutusunu Bootstrap style’a sokalım */
.select2-container--bootstrap4 .select2-search__field {
    border: 1px solid #ced4da;
    border-radius: .25rem;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
}

#check-address {
    color: #fff !important;
}

#proceed-to-subscription {
    color: #fff !important;
}

    #proceed-to-subscription:hover {
        color: #fff !important;
    }

.select2-container--bootstrap4 .select2-dropdown {
    max-height: 350px; /* dilediğin yüksekliği ver */
}
/* İç sonuç listesini kaydırılabilir yap */
.select2-container--bootstrap4 .select2-results__options {
    max-height: 300px; /* dropdown–search’in altındaki liste */
    overflow-y: auto;
}
