/* DNET Plan Selection Styling - Modern Orange Theme */

.plan-selection-wrapper {
    background: #f8fafc;
    padding-top: 85px;
    padding-bottom: 80px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

@media (max-width: 991px) {
    .plan-selection-wrapper {
        padding-top: 75px;
        padding-bottom: 50px;
    }
}

/* Custom Header Bar */
.plan-header-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 24px 32px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    color: #ffffff;
}

.plan-header-banner .header-info h2 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.plan-header-banner .header-info p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

.custom-builder-btn {
    background: linear-gradient(135deg, #ff5500 0%, #ff7700 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 30px;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.35);
    transition: all 0.3s ease;
}

.custom-builder-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 85, 0, 0.45);
    color: #ffffff !important;
}

/* Selection Section Boxes */
.selection-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.selection-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.selection-title::before,
.selection-title::after {
    content: '';
    display: block;
    width: 24px;
    height: 3px;
    background: #ff5500;
    border-radius: 2px;
}

.options-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.option-btn {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 105px;
}

.option-btn:hover {
    border-color: #ff5500;
    color: #ff5500;
    background: #fff;
}

.option-btn.active {
    background: #ff5500;
    color: #ffffff;
    border-color: #ff5500;
    box-shadow: 0 4px 14px rgba(255, 85, 0, 0.35);
}

/* Billing Cycle Options */
.cycle-options-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.cycle-btn {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.25s ease;
    flex: 1;
    max-width: 220px;
    min-width: 140px;
    text-align: center;
}

.cycle-btn:hover {
    border-color: #ff5500;
    color: #ff5500;
    background: #fff;
}

.cycle-btn.active {
    background: #ff5500;
    color: #ffffff;
    border-color: #ff5500;
    box-shadow: 0 4px 14px rgba(255, 85, 0, 0.35);
}

/* Plan Cards Grid - Modern Structure */
.plan-cards-container {
    margin-top: 30px;
}

.plan-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: #ff5500;
    box-shadow: 0 20px 35px -8px rgba(255, 85, 0, 0.15);
}

.card-top-bar {
    height: 6px;
    background: linear-gradient(90deg, #ff5500 0%, #ff8800 100%);
    width: 100%;
}

.plan-card-body {
    padding: 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plan-tier-badge {
    align-self: center;
    background: #fff3ec;
    color: #ff5500;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.plan-title-area {
    text-align: center;
    margin-bottom: 20px;
}

.plan-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.plan-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.specs-row {
    display: flex;
    justify-content: space-around;
    background: #f8fafc;
    border-radius: 14px;
    padding: 14px 12px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #f1f5f9;
}

.spec-item .spec-value {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.spec-item .spec-label {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

/* Channels & OTT section */
.media-included-box {
    text-align: center;
    margin-bottom: 20px;
    flex: 1;
}

.media-badge-group {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 14px;
}

.media-count-badge {
    text-align: center;
}

.media-count-badge .count-number {
    font-size: 16px;
    font-weight: 800;
    color: #ff5500;
}

.media-count-badge .count-label {
    font-size: 11px;
    color: #64748b;
}

.ott-icons-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.ott-icon-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.ott-icon-img:hover {
    transform: scale(1.18);
}

.price-display-area {
    text-align: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
    margin-bottom: 20px;
}

.price-main {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
}

.price-main span {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.select-plan-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff5500 0%, #ff7700 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    text-decoration: none;
    display: block;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.25);
}

.select-plan-btn:hover {
    background: linear-gradient(135deg, #e04b00 0%, #ff6600 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(255, 85, 0, 0.4);
}

/* Summary Modal Styling */
.summary-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.summary-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.summary-modal-container {
    background: #ffffff;
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    font-size: 18px;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.modal-grid-row {
    display: flex;
    flex-wrap: wrap;
}

.modal-left-col {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-subtitle-orange {
    color: #ff5500;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 6px;
}

.modal-main-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 24px;
}

.modal-form .form-group {
    margin-bottom: 16px;
}

.modal-form .form-control {
    width: 100%;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease;
}

.modal-form .form-control:focus {
    border-color: #ff5500;
    box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.12);
}

.phone-input-group {
    display: flex;
    gap: 8px;
}

.phone-prefix {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 600;
    font-size: 14px;
    color: #475569;
}

.submit-modal-btn {
    width: 100%;
    background-color: #94a3b8;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 8px;
}

.submit-modal-btn.ready {
    background: linear-gradient(135deg, #ff5500 0%, #ff7700 100%);
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
}

.submit-modal-btn.ready:hover {
    background: linear-gradient(135deg, #e04b00 0%, #ff6600 100%);
}

.modal-social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.modal-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ff5500;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.modal-social-btn:hover {
    transform: scale(1.12);
    color: #ffffff;
}

.modal-right-col {
    flex: 1;
    min-width: 320px;
    background: #f8fafc;
    padding: 36px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.summary-card-title {
    color: #ff5500;
    font-weight: 800;
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.summary-item .item-label {
    color: #475569;
    font-weight: 500;
}

.summary-item .item-value {
    color: #0f172a;
    font-weight: 700;
}

.summary-item .item-value.free {
    color: #22c55e;
}

.summary-item .item-value.applicable {
    color: #f59e0b;
}

.summary-item.total-payable-row {
    border-bottom: none;
    border-top: 2px solid #e2e8f0;
    padding-top: 14px;
    margin-top: 6px;
}

.summary-item.total-payable-row .item-label {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.summary-item.total-payable-row .item-value {
    font-size: 20px;
    font-weight: 900;
    color: #ff5500;
}

.summary-footnote {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 12px;
    text-align: center;
}
