/* GLOBAL RESETS */
* {
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9f9f9;
    color: #333;
}

/* PAYMENT MODAL */
.payment-modal {
    display: none;
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%; 
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    align-items: center; 
    justify-content: center;
}
.modal-content {
    background: antiquewhite; /* Light background for the modal */
    border-radius: 12px;
    width: 90%;
    max-width: 300px;
    padding: 12px;
    position: relative;
    animation: zoomIn 0.3s ease-in-out;
}
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    margin-bottom: 10px;
}
.modal-header h3 {
    font-size: 1.2rem;
}
.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    color: red;
}
.modal-body p {
    margin-bottom: 15px;
}
.form-group {
    margin-top: 10px;
}
.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}
.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.cancel-btn, .proceed-btn {
    width: 48%;
    padding: 12px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}
.cancel-btn {
    background: #ccc;
    color: #333;
}
.proceed-btn {
    background: #007bff;
    color: #fff;
}

/* LOADER CONTAINER */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    text-align: center;
    position: relative; 
}

/* LOADER  working part*/
.loaders {
    display: inline-block;
    width: 44.8px;
    height: 44.8px;
    color: #137ef0;
    position: relative;
}

/* ANIMATION */
.loaders:before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
    radial-gradient(10.08px at bottom right, #0000 94%, currentColor) top left,
    radial-gradient(10.08px at bottom left , #0000 94%, currentColor) top right,
    radial-gradient(10.08px at top right   , #0000 94%, currentColor) bottom left,
    radial-gradient(10.08px at top left    , #0000 94%, currentColor) bottom right;
    background-size: 22.4px 22.4px;
    background-repeat: no-repeat;
    animation: loader 1.5s infinite cubic-bezier(0.3,1,0,1);
}

/* KEYFRAMES */
@keyframes loader {
33% {
    inset: -11.2px;
    transform: rotate(0deg);
}

66% {
    inset: -11.2px;
    transform: rotate(90deg);
}

100% {
    inset: 0;
    transform: rotate(90deg);
}
}
/* LOADER STEPS */
.loader-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.loader-steps .step {
    display: none;
    margin-top: 5px;
    font-weight: 500;
    color: #555;
}
.loader-steps .step.active {
    display: block;
}
.loader-steps .final-success {
    color: green;
}
.loader-steps .error-message {
    color: #dc3545;
    font-size: 1.1rem;
    text-align: center;
    margin: 20px 0;
}

/* MOBILE VIEW */
.mobile-view {
    display: none;
    /*background: url('/simbalink-sys/vouchers/vbg/bg3.jpg') no-repeat center center fixed;
    background-size: cover; */
    background: url('../vbg/bg3.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* Mobile Header */
.current-time {
    text-align: center;
    margin-bottom: 5px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    border: #007bff solid 2px;
    /* css glass */
    background: rgba(184, 154, 154, 0.2);
    border-radius: 2px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid #fd0d6e;
}

.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px;
    /* css glass */
    background: rgba(184, 154, 154, 0.2);
    border-radius: 6px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12.5px);
    -webkit-backdrop-filter: blur(12.5px);
    border: 1px solid #6efd0d;

    font-family: Arial, sans-serif;
    margin-bottom: 7px;
}

.logo-img {
    width: 100px;
    display: flex;
    justify-content: left;
}

.logo-img img {
    width: 100%;
    max-width: 70px;
    height: auto;
    align-self: center;
}

.header-title {
    text-align: center;
    flex-grow: 1;
    
}

.header-title .main-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0px;
    
}

.header-title .subtitle {
    font-size: 12px;
    font-weight: 600;
    margin: 5px 0;
}

.header-title .portal-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

.mobile-body {  
    /* For css.glass */
    background: rgba(13, 110, 253, 0);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(19.6px);
    -webkit-backdrop-filter: blur(19.6px);
    border: 1px solid rgba(13, 110, 253, 0.99);
    min-height: calc(100vh - 180px);
    padding: 15px 10px;
    border-radius: 10px;
    max-width: 100%;
}
.mobile-body .announcements {
    background: #fd9c0d; /* Light background for announcements */
    padding: 2px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}
.mobile-body .announcements marquee {
    color: #f8f2f2;
}

/* Plan list on mobile */
.mobile-body .plan-list .plan-item {
   /* css glass */
    background: rgba(255, 251, 251, 0.22);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(19.4px);
    -webkit-backdrop-filter: blur(19.4px);
    border: 1px solid rgba(255, 251, 251, 0.99);
    border-radius: 6px;
    padding: 10px;
    margin: 10px 0;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-body .plan-list .plan-info {
    display: flex;
    flex-direction: column;
}
.mobile-body .plan-list .plan-name {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 5px;
}
.mobile-body .plan-list .plan-duration {
    font-size: 0.8rem;
    text-align: left;
}
.mobile-price {
    font-size: 2rem;
    font-weight: bold;
    margin-right: 10px;
}
.mobile-purchase-btn {
    width: 30%;
    background: #007bff;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s ease;
}
.mobile-purchase-btn:hover {
    background: #03ec51;
}

.mobile-footer {
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
}

/* DESKTOP VIEW v1 */
/*.desktop-view {
    display: block;
}
.plans-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 12px;
}
.page-title {
    text-align: center;
    margin-bottom: 20px;
}
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.plan-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.2s;
}
.plan-card:hover {
    transform: translateY(-5px);
}
.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.price-box {
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
}
.unlimited-badge {
    position: absolute;
    top: 15px; 
    right: 15px;
    color: #ff0000;
    font-weight: bold;
    font-size: 0.85rem;
    background: #ffecec;
    padding: 5px 8px;
    border-radius: 6px;
}
.plan-features {
    margin-top: 10px;
}
.purchase-btn {
    background: #28a745;
    color: #fff;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    cursor: pointer;
}
.purchase-btn i {
    font-size: 0.95rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

 RESPONSIVE BREAKPOINTS 
@media (max-width: 768px) {
    .mobile-view {
        display: block;
    }
    .desktop-view {
        display: none;
    }
}*/
/* loader erroe container 
.loader-container .error-message {
color: #dc3545;
font-size: 1.1rem;
text-align: center;
margin: 20px 0;
}*/






/* loader erroe container */
/* Mobile Layout Styles *
@media (max-width: 768px) {
    header {
        display: none !important;
    }

    .mobile-view {
        max-width: 100%;
        margin: 0 auto;
        padding: 10px;
        font-family: Arial, sans-serif;
    }

    .mobile-header {
        text-align: center;
        padding-bottom: 10px;
        border-bottom: 2px solid #ddd;
    }

    .current-time {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 8px;
    }

    .company-info {
        font-size: 0.8rem;
        color: #444;
        line-height: 1.4;
        margin: 10px 0;
    }

    .mobile-title {
        margin: 15px 0;
        color: #2c3e50;
        font-size: 1.2rem;
    }

    .cta-links {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 10px 0;
        font-size: 0.9rem;
        color: #007bff;
    }

    .mobile-ads-container {
        margin: 15px 0;
    }

    .slide-add {
        background: #e3f2fd;
        padding: 10px;
        border-radius: 5px;
        margin: 10px 0;
        text-align: center;
        font-size: 0.9rem;
    }

    .announcements {
        background: #fff3e0;
        padding: 10px;
        border-radius: 5px;
        font-size: 0.8rem;
    }

    .plan-list {
        margin-top: 20px;
    }

    .plan-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px;
        border-bottom: 1px solid #eee;
    }

    .plan-info {
        flex-grow: 1;
    }

    .plan-name {
        font-weight: bold;
        color: #2c3e50;
        font-size: 0.95rem;
    }

    .plan-duration {
        font-size: 0.8rem;
        color: #666;
    }

    .mobile-price {
        color: #007bff;
        font-weight: bold;
        margin: 0 15px;
        white-space: nowrap;
    }

    .mobile-purchase-btn {
        background: #007bff;
        color: white;
        border: none;
        padding: 5px 4px;
        border-radius: 4px;
        font-size: 0.85rem;
        cursor: pointer;
    }

    .mobile-footer {
        text-align: center;
        padding: 15px;
        color: #666;
        font-size: 0.8rem;
        margin-top: 20px;
        border-top: 1px solid #eee;
    }
}
 ########################################################################################################################### */
/* General Reset *
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9f9f9;
    color: #333;
}

/* Payment Modal Styling *
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

/*.modal-content {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: zoomIn 0.3s ease-in-out;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal-header h3 {
    font-size: 1.2rem;
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.form-group input[type="tel"] {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.cancel-btn, .proceed-btn {
    width: 48%;
    padding: 12px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.cancel-btn {
    background: #ccc;
    color: #333;
}

.proceed-btn {
    background: #007bff;
    color: white;
}

/* Loader Centered
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    text-align: center;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} *

.loader-steps .step {
    display: none;
    margin-top: 5px;
    font-weight: 500;
    color: #555;
}

.loader-steps .step.active {
    display: block;
}

.loader-steps .final-success {
    color: green;
}

/* Mobile View *
.mobile-view {
    display: none;
    padding: 15px;
}

.mobile-price {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
}

.mobile-purchase-btn {
    width: 30%;
    background: #1014eb;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
} *

.plan-item {
    background: #fffdfd;
    margin: 10px 0;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
} 
/* Desktop View */
.desktop-view {
  display: block;
  /*background: url('../vbg/bgd1.jpg'); /* 👈 Replace with your image path */
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../vbg/bgd1.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  
}
.plans-wrapper {
    margin: 0 auto;
    padding: 30px 20px;
   /* From https://css.glass */
background: rgba(17, 122, 234, 0.33);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(17, 122, 234, 1);
margin: 2rem;
}

.voucher-plans {
    width: 10 re;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 3fr));
    gap: 10px;
}

.plan-card {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 2px 6px rgba(7, 7, 7, 0.8);
    position: relative;
    padding: 20px;
    transition: transform 0.2s;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-header {
    border-top: #007bff solid 2px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
/*.plan-name {
    font-size:2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #007bff;
}
.plan-duration {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}*/

.price-box {
    font-size: 20px;
    font-weight: bold;
    color: #ff0000;
    border-bottom: #03ec51 dotted 2px;
    padding-bottom: 10px;
}

.purchase-btn {
    background: #28a745;
    color: white;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    display:inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    cursor: pointer;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

/* Mobile First Design with Desktop Media Queries */
@media (max-width: 768px) {
    .mobile-view {
        display: block;
    }

    .desktop-view {
        display: none;
    }

    .modal-content {
        width: 90%;
    }
}

@media (min-width: 769px) {
    .mobile-view {
        display: none;
    }

    .desktop-view {
        display: block;
    }
}

/* Global Resets */
/* Desktop Wrapper Layout */
.desktop-container {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  padding: 20px;
}

/* Left & Right Sidebar *
.left-sidebar, .right-sidebar {
  display: flex;
  flex-direction: column;
}

.ads-card, .monthly-card {
  background: #ffffffcc;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
} */

.ads-card, .monthly-card {
  background: #ffffffcc;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  height: 600px;
  overflow-y: auto;

  /* Sticky Effect */
  position: sticky;
  top: 40px; /* Distance from the top of the screen */
  z-index: 10;
}



.ads-card h3, .monthly-card h3 {
  color: #0d6efd;
  margin-bottom: 10px;
}

.ads-card ul {
  padding-left: 20px;
  font-size: 14px;
}

.monthly-card button {
  margin-top: 10px;
  padding: 10px;
  background: #198754;
  color: white;
  border: none;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.monthly-card button:hover {
  background: #146c43;
}

/* Main Plans Section */
.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* Plan Card */
.plan-card {
  background: #fdfdfdcc;
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.plan-card:hover {
  transform: scale(1.02);
}

.plan-card h4 {
  margin: 0.5rem 0;
  color: #1d3557;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0d6efd;
}

.badge {
  background-color: gold;
  color: #000;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 5px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  font-size: 14px;
  color: #444;
}

.plan-card button {
  padding: 8px 14px;
  background: #0d6efd;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.plan-card button:hover {
  background: #084298;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .desktop-container {
    grid-template-columns: 1fr;
  }

  .left-sidebar, .right-sidebar {
    flex-direction: row;
    justify-content: space-around;
    gap: 20px;
  }

  .ads-card, .monthly-card {
    width: 100%;
  }
}

/* more custom for desktop view */



.vouchers-palans {
    background: #2dddc6;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.monthly-plans {
    background: #2d85dd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.ppp-plans {
    background: #f75656;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.header-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0595f5;
}

.header-section {
  background-color: #f7f6fa;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}   

