/*
 Theme Name: Astra Child
 Theme URI: https://wpastra.com/
 Author: Your Name
 Author URI: Zoiko
 Description: Astra child theme
 Template: astra
 Version: 1.0.0
 Text Domain: astra-child
*/ 

/* You can add custom CSS below */
.digital-phone-line-plans {
    font-family: "Inter", Sans-serif;
    display: grid;
    justify-content: center;
    gap: 20px;
    margin: 40px auto 60px;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1024px;
}
.digital-phone-line-plans .plan-card {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 40px 20px 25px;
    width: auto;
    text-align: center;
    position: relative;
    box-shadow: #0000001A 0 4px 10px;
    transition: transform 0.2s ease;
    min-width: 312px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
}
.digital-phone-line-plans .plan-card>*{
    width: 100%;
}
.digital-phone-line-plans .plan-card:hover {
  transform: translateY(-12px);
}
.digital-phone-line-plans .plan-card:hover{
    border: 2px solid #10446C;  
}
.digital-phone-line-plans .plan-card.highlighted {
    border: 2px solid #28a745;
    transform: translateY(-15px);
    height: calc(100% + 30px);
}
.digital-phone-line-plans .plan-card .badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #F5C241;
    color: #333333;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 20px;
    width: auto;
}
.digital-phone-line-plans .plan-card:hover .badge{
     background: #10446C; 
     color: #fff;
} 
.digital-phone-line-plans .plan-card.highlighted .badge{
     background: #28a745;
    color:#fff;
}
.digital-phone-line-plans .plan-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2C3E50;
}

.digital-phone-line-plans .plan-price {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
}
.digital-phone-line-plans .plan-price>span {
    font-weight: normal;
    color: #6C757D;
    font-size:16px;
}
.digital-phone-line-plans .plan-price span bdi {
    font-size: 36px; 
    color: #2C3E50;
    font-weight: 700;
}
.digital-phone-line-plans .plan-meta {
  font-size: 14px;
  color: #666;
  margin: 4px 0;
}

.digital-phone-line-plans .plan-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  font-size: 14px;
  color: #333;
  text-align: left;
}
.digital-phone-line-plans .plan-features li {
    margin: 0;
    color: #555555;
    font-size: 16px;
    line-height: 1.3;
    display: flex;
    width: 100%;
    padding: 10px 0;
    font-family: "Inter", Sans-serif;
}
.digital-phone-line-plans .plan-button {
    display: inline-block;
    background: #F5C241;
    color: #333333;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 18px;
    width: 100%;
    margin-top: auto;
}
.digital-phone-line-plans .plan-button {
    display: inline-block;
    background: #F5C241;
    color: #333333;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 18px;
    width: 100%;
    margin: auto 0 0;
}
.digital-phone-line-plans .plan-card:hover .plan-button {
    background: #10446C; 
    color: #fff;
 } 
.digital-phone-line-plans .plan-card.highlighted .plan-button {
    background: #28a745;
    color:#fff;
 }
 
.step-navigation-wrapper {
    width: 100%;
    background: #F8F9FA;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom:30px;
}
.step-navigation-wrapper .inner-wrap{
    max-width:1240px;
    margin:0 auto;
}
.step-navigation {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}
.step-navigation .nav-step {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6C757D;
    flex-direction: column;
    gap: 15px;
    position: relative;
}
.step-navigation .nav-step span {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: #E9ECEF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    z-index: 2;
    cursor: pointer;
}
.step-navigation .nav-step.active {
   font-weight: 700;
}
.step-navigation .nav-step.active span {
    background: #FFD700;
}
.step-navigation .nav-step:after {
    content: '';
    position: absolute;
    left: 50%;
    width: 100%;
    background: #E9ECEF;
    height: 2px;
    top: 19px;
    z-index: 1;
}
.step-navigation .nav-step:last-child:after{
    display:none !important;
}
.step-navigation .nav-step.active:after{
    background: #FFD700;
}
.step-nav-actions-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 100px 0;
}
.step-nav-inner {
    max-width: 1024px;
    margin: 0 auto;
    width: 80%;
}
.step-nav-actions {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    width: 100%;
}
.step-nav-actions .step-btn {
    border: #10446C solid 2px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 25px;
    line-height: 1;
    font-size: 16px;
    color: #10446C;
    cursor: pointer;
}
.step-nav-actions .step-btn:hover{
    background:#10446C !important;
    color:#fff !important;
    border-color:#10446C !important;
}
.step-nav-actions .step-btn.next-step{
    background:#F5C241;
    border-color:#F5C241;
    color:#10446C;
    font-weight: 700;
}

.digital-line-plan-header {
    display: flex;
    width: 100%;
    justify-content: center;
}
.digital-line-plan-header .plan-inner {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto 40px;
}
h2.digital-plan-heading {
    color: #2C3E50;
    font-weight: 700;
    font-size: 40px;
    width: 100%;
    text-align: center;
    margin: 0 0 15px;
}
.digital-line-plan-header .plan-terms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: 40px;
}
.digital-line-plan-header .p-terms {
    color: #2C3E50;
    font-size: 16px;
    font-weight: 700;
}
.digital-line-plan-header .p-terms span {
    border: #E9ECEF solid 2px;
    border-radius: 6px;
    color: #000000;
    font-weight: 400;
    font-size: 16px;
    display: inline-block;
    padding: 10px 20px;
    line-height: 1;
    margin: 0 0 0 20px;
}
.digital-line-plan-header .vat-terms.p-terms span.inc-vat {
    font-size: 13px;
    color: #333333;
    border-radius: 6px 0 0 6px;
    border-right: none; 
    cursor: pointer;
}
.digital-line-plan-header .vat-terms.p-terms span.ex-vat {
    font-size: 13px;
    color: #333333;
    border-radius: 0 6px 6px 0;
    border-left: none;
    margin-left:-10px;
    cursor: pointer;
}
.digital-line-plan-header .p-terms .active{
    background: #F5C241 !important;
    font-weight:700 !important;
}
a.elementor-accordion-title {
    outline: none !important;
}
 
.step-nav-actions-wrapper.step-6-actions{
    display: none;
}
/* Show only when needed */
.step-nav-actions-wrapper {
    display: flex;
}

/* Ensure step 1 is visible by default */
#digital-line-plan-step-1 {
    display: block;
}
#digital-line-plan-step-2,#digital-line-plan-step-3,#digital-line-plan-step-4,#digital-line-plan-step-5,#digital-line-plan-step-6{
    display:none;
}
.digital-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}
.digital-message {
    background: #ffeaea;
    border-left: 4px solid #ed0707;
    padding: 15px 20px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-radius: 4px; 
     animation: slideIn 0.3s ease;
}
.digital-message.success {
    border-left-color: #4caf50;
}

.digital-message.warning {
    border-left-color: #ff9800;
}

.digital-message.error {
    border-left-color: #f44336;
}

.digital-message .message-text {
    font-size: 14px;
    color: #333;
    margin: 0;
}

.digital-message .close-message {
    float: right;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #999;
    margin-left: 10px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/*
/////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////Number and porting //////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////
*/
.numbers-porting-section {
    text-align: center;
    margin: 40px 0;
}
.numbers-porting-section .section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}
.numbers-porting-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1160px;
    margin: 30px auto 0;
}
.number-group {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    width: 33.33%;
    box-shadow: #0000001A 0 4px 10px;
}
.number-group .group-title {
    font-size: 24px;
    font-weight: 700;
    border-bottom: 2px solid #FFD700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-align: left;
    color: #2C3E50;
}
.numbers-porting-section .plan-card {
    border: 1px solid #ddd;
    transition: border-color 0.3s;
}

.numbers-porting-section .plan-card input[type="radio"]:checked ~ * {
    border-color: #28a745 !important;
}

.numbers-porting-section .plan-card:has(input[type="radio"]:checked) {
    border-color: #28a745;
    background-color: #f0f9f0;
}
.plan-card {
    display: block;
    text-align: left;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    padding: 15px 20px 15px 45px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all .3s ease;
    position: relative;
}
label.plan-card input[type=radio] {
    position: absolute;
    top: 18px;
    left: 20px;
}
.plan-card:hover,
.plan-card input:checked + div {
    border-color: #0073e6;
    background: #f9f9ff;
}
.plan-price {
    font-weight: 700;
    color: #28A745;
    font-size: 20px;
}
.plan-title {
    font-size: 16px;
    font-weight: 700;
    color: #2C3E50;
    margin: 5px 0 2px;
}
.plan-desc {
    font-size: 14px;
    color: #6C757D;
}
 

/*
/////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////Equipments //////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////
*/
/* Equipments Section */
.digital-equipments-wrapper {
    text-align: center;
    margin: 50px 0;
}
.digital-equipments {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1160px;
    margin: 30px auto 0;
}
.digital-equipments .equipment-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: #0000001A 0 4px 10px;
    border: 2px solid transparent;
    padding: 20px;
    width: 280px;
    transition: all 0.3s ease;
    text-align: center;
    cursor:pointer;
}

.digital-equipments .equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    border-color: #10446C;
}
.digital-equipments .equipment-card:hover .btn-select-equipment{
    background-color: #10446C;
    color: #fff;
}
.digital-equipments .equipment-card.selected {
    border-color: #28a745;
    background: #f9fff9;
}
.digital-equipments .equipment-card.selected .btn-select-equipment{
    background-color: #28a745;
    color: #fff;
}
.equipment-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2C3E50;
}
.equipment-price {
    font-size: 28px;
    font-weight: bold;
    color: #28A745;
    margin-bottom: 15px;
}
.equipment-features {
    list-style: none;
    padding: 0 20px;
    margin: 0 0 20px;
    text-align: left;
}
.equipment-features li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 20px;
}

.equipment-features li::before {
    content: '✓';
    color: #28A745;
    position: absolute;
    left: 0;
    top: 0;
}
.equipment-button .btn-select-equipment {
    display: inline-block;
    background: #F5C241;
    color: #333333;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease;
    line-height: 1;
    margin-top: auto;
}
 
/*
/////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////// .addons-extras-wrapper, .change-charges-wrapper//////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////
*/
/* Generic card wrapper */
.addons-extras-wrapper, .change-charges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    max-width: 1160px;
    margin: 30px auto 0;
}
.addon-card, .change-card {
    position: relative;
    width: 30%;
    max-width: 365px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    cursor: pointer;
}
.addon-content,.change-card>label {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    flex-direction: column;
        cursor: pointer;
}
.addon-content>*,.change-card>label>*{
    width: 100%;
    text-align: center;
}
.addon-card:hover, .change-card:hover{
    border-color: #10446C;
}

/* Hide native checkbox */
.addon-checkbox, 
.change-checkbox {
    display: none;
}

.addon-title, .change-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2C3E50;
}
.addon-description, .change-description {
    font-size: 15px;
    color: #6C757D;
    margin-bottom: 10px;
    min-height: 40px;
}
.addon-price, .change-price {
    font-size: 23px;
    font-weight: 700;
    margin: 10px 0;
    color: #28A745;
    line-height: 1;
    margin: 0 0 20px;
}
.price-prefix {
    font-weight: 700;
    color: #28A745;
}
.price-suffix {
     font-weight: 700;
    color: #28A745;
    margin-left: 4px; 
    color: #28A745;
    font-size: 16px;
}
.change-price .price-suffix{
    margin-top: 5px;
     width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.addon-subdesc, 
.change-subdesc {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

/* Button text styled like a button */
.addon-button, 
.change-button {
    display: inline-block;
    background: #F5C241;
    color: #333333;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease;
    line-height: 1;
    margin-top: auto;
}
 
.addon-card:hover .addon-button, .change-card:hover .change-button{
 background-color: #10446C;
 color: #fff;
}
/* Selected state */
.addon-card.selected, 
.change-card.selected {
    border-color: #28A745;
    box-shadow: 0 4px 16px rgba(0, 166, 81, 0.2);
}

.addon-card.selected .addon-button, 
.change-card.selected .change-button {
    background: #28A745;
    color: #fff;
}

/*
/////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////// Checkout summary //////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////
*/
/* Base wrapper */
.checkout-summary-wrapper {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 24px;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 800px;
}

/* Heading */
.checkout-summary-wrapper .digital-plan-heading {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    color: #10446C; 
}
/* Sections */
.checkout-summary-wrapper .checkout-summary-section {
    margin-bottom: 5px;
}
.checkout-summary-wrapper .checkout-summary-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #000;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 6px;
}
/* Summary items */
.checkout-summary-wrapper .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px 0 5px 20px;
    border-bottom: 1px dashed #e6e6e6;
}
.checkout-summary-wrapper .summary-item:last-child {
    border-bottom: none;
}

.checkout-summary-wrapper .summary-item-details {
    flex: 1;
    margin-right: 15px;
}
.checkout-summary-wrapper .summary-item-title {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    line-height: 1;
}
.checkout-summary-wrapper .summary-item-desc {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* Prices */
.checkout-summary-wrapper .summary-item-price {
    font-weight: 600;
    color: #111;
    white-space: nowrap;
}

/* Totals box */
.checkout-summary-wrapper #checkout-total-section {
    background: #fafafa;
    border-top: 2px solid #ddd;
    margin-top: 10px;
    padding: 5px 20px;
    border-radius: 10px;
}
.checkout-summary-wrapper .checkout-totals {
    width: 100%;
}

.checkout-summary-wrapper .checkout-totals .total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 1rem;
}

.checkout-summary-wrapper .checkout-totals .subtotal-row {
    font-weight: 500;
    color: #333;
}

.checkout-summary-wrapper .checkout-totals .vat-row {
    color: #666;
    font-size: 0.95rem;
}
.checkout-summary-wrapper .checkout-totals .grand-total-row {
    font-size: 1.2rem;
    font-weight: 700;
    color: #10446C;
    border-top: 2px solid #ccc;
    margin-top: 10px;
    padding-top: 12px;
}
.step-nav-actions-wrapper.step-6-actions {
    margin: 30px auto;
}
.step-nav-actions-wrapper.step-6-actions .step-nav-inner {
    max-width: 800px;
}
/* Responsive */
@media (max-width: 600px) {
    .checkout-summary-wrapper {
        padding: 16px;
    }
    .checkout-summary-wrapper .summary-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .checkout-summary-wrapper .summary-item-price {
        margin-top: 5px;
    }
}