body {
    background-color: #f4f6f9;
    font-family: "Montserrat", sans-serif;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid white;
}

.dashboard-header p {
    margin-bottom: 5px;
}

.dropdown-menu {
    min-width: 220px;
}

.sidebar {
    width: 280px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -280px;
    background: #222831;
    color: white;
    padding: 25px;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.2);
}

.sidebar.active {
    left: 0;
}

.sidebar .close-btn {
    text-align: right;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
}

.dashboard-container {
    transition: transform 0.3s ease-in-out;
}

.dashboard-header {
    background-color: #c62128;
    background-image: linear-gradient(147deg, #c62128 0%, #a00000 74%);
    color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background-color: white;
    box-shadow: 0px 0px 3px 2px #ebebeb;
    border-radius: 10px;
}

.info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info p {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 5px 0;
    border-bottom: 1px solid #efefef;
}

.info p span {
    font-weight: bold;
    color: #333;
}

.btn-primary {
    background: #667eea;
    border: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #764ba2;
}

.table th,
.table td {
    vertical-align: middle;
}

.info p:first-child {
    padding-top: 0px;
}

.ottwrap ul.nav-tabs button.active {
    background-color: red !important;
    border-radius: 5px !important;
    color: white !important;
}

.info p:last-child {
    padding-bottom: 0px;
    border: unset;
}

.ottwrap {
    width: 100%;
    color: rgb(119, 119, 119);
    border-width: 1px;
    border-style: solid;
    border-color: rgb(226, 219, 202);
    border-image: initial;
    background: rgb(255, 253, 248);
    border-radius: 5px;
    display: inline-flex;
    padding: 10px;
    
}



.ottwrap ul {
    border: unset;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.ottwrap ul.nav-tabs button {
    background-color: transparent !important;
    border: unset;
    color: black !important;
    font-weight: 600;
    width: 100%;
    text-align: center;
    padding: 10px;
}

.ottwrap ul li.nav-item {
    width: 25%;
    display: flex;
    justify-content: center;
    background-color: rgba(185, 167, 167, 0.514);
}

.paid_plans .card.shadow-sm {
    min-height: 100%;
}

.paid_month {
    font-size: 8px;
}

.paid_plans .btn-group-vertical>.btn, .paid_plans .btn-group>.btn {
    padding: 5px;
}
.paid_plans {
    padding: 0px;
}

.flexible_free_plan {
    border: 1px solid #afafaf;
    border-radius: 9px;
    background-color: #f1f1f1;
    padding: 25px !important;
}
.card{border-color:rgba(0, 0, 0, 0.175) !important;}
.card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    width: 100% !important;
    padding-bottom: 0px;  
    min-height: 420px;
    margin-bottom: 20px;
    
}
.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    background-color: #4c4c4c;
    border: unset;
    cursor: not-allowed;
}

.card:hover {
    transform: scale(1.02);
}

.ott_plan_images .card img {
    height: 50px;
    border-radius: 5px;
    border: unset;
    width: 50px;
    margin-left: 0px;
}
.icon-list img {
    width: 20px;
    height: 20px;
    margin-top: 3px;
}
.card-content {
    padding: 15px;
    text-align: center;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.card-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.card-container .image-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 4px;
    margin-bottom: 10px;
    row-gap: 10px;
}

.card-btn {
    display: inline-block;
    padding: 8px 15px;
    background: red;
    color: white;
    text-decoration: none;
    border-radius: 0px;
    font-size: 14px;
    position: absolute;
    width: 100%;
    left: 0px;
    bottom: 0px;
}

.card-btn:hover {
    background: #d94324;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

footer p {
    margin-bottom: 0px;
}

.jio-hotstar {
    background-color: #2a2a2a;
    color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 23px;
}

a.card-btn.disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: #6a5f5f;
}


table {
    background: white;
    border-radius: 8px;
}
th {
    cursor: pointer;
}
.text-success {
    color: green;
}
.text-danger {
    color: red;
}

.chart-container {
    width: 100%;
    height: 300px; /* Ensures both charts have the same height */
    display: flex;
    align-items: center;
    justify-content: center;
}
canvas {
    max-width: 100% !important;
    max-height: 100% !important;
}

/* Dashboard Cards */
.dashboard-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    font-size: 1.5rem;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
    width:100% !important;
}

.dashboard-card i {
    font-size: 2rem;
}

.dashboard-card:hover {
    transform: scale(1.05);
}

/* Card Colors */
.bg-primary { background-color: #007bff !important; }
.bg-success { background-color: #28a745 !important; }
.bg-warning { background-color: #ffc107 !important; }

/* Loading Spinner */
.loading-spinner {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.loading-spinner i {
    color: #007bff;
    font-size: 3rem;
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
}

/* Enable Scroll for Large Charts */
.overflow-scroll {
    overflow-x: auto;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-card {
        font-size: 1.2rem;
        flex-direction: column;
        text-align: center;
    }
    .dashboard-card i {
        font-size: 1.5rem;
        margin-top: 10px;
    }
}



/* Dark Mode */
.dark-mode {
    background-color: #121212;
    color: #ffffff;
}
.dark-mode .card {
    background-color: #333;
}
.dark-mode .table {
    background-color: #222;
}
.dark-mode .table thead {
    background-color: #444;
}

.dashboard-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px; /* Slightly increased padding for better spacing */
    min-height: 160px; /* Increased height for better visibility */
    font-size: 1.4rem; /* Slightly larger text */
    border-radius: 12px; /* Smoother rounded corners */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow for depth */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Smooth hover effect */
}

.dashboard-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

.dashboard-card i {
    font-size: 3.5rem; /* Bigger icons */
    opacity: 0.9; /* Better visibility */
    color: rgba(255, 255, 255, 0.9); /* Ensuring white color consistency */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-card {
        padding: 25px;
        font-size: 1.2rem;
        min-height: 130px;
    }
    
    .dashboard-card i {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .dashboard-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        min-height: 120px;
    }
    
    .dashboard-card i {
        font-size: 2.5rem;
        margin-top: 10px;
    }
}

/* Base (Light) Theme */
:root {
    --background-color: #ffffff;
    --text-color: #000000;
    --primary-color: #007bff; /* Blue */
}

/* Dark Theme */
.dark-theme {
    --background-color: #121212;
    --text-color: #ffffff;
}

/* Custom Theme */
.custom-theme {
    --background-color: #f0e68c;
    --text-color: #8b4513;
}


/* Light Theme 1: Soft Blues and Neutrals */
.light-theme-1 {
    --background-color: #f8f9fa; /* Light Gray */
    --text-color: #343a40;      /* Dark Gray */
    --primary-color: #6c757d;   /* Gray */
}

/* Light Theme 2: Muted Pastels */
.light-theme-2 {
    --background-color: #fffafa; /* Snow */
    --text-color: #2f4f4f;       /* Dark Slate Gray */
    --primary-color: #ff69b4;    /* Hot Pink */
}


/* Solarized Light Theme */
.solarized-light-theme {
    --background-color: #fdf6e3; /* Base3 */
    --text-color: #657b83;       /* Base00 */
    --primary-color: #268bd2;    /* Blue */
}


/* Ocean Theme */
.ocean-theme {
    --background-color: #e0f7fa; /* Light Cyan */
    --text-color: #006064;       /* Teal */
    --primary-color: #00838f;    /* Dark Cyan */
}



/* Forest Theme */
.forest-theme {
    --background-color: #e8f5e9; /* Mint Cream */
    --text-color: #2e7d32;       /* Forest Green */
    --primary-color: #a1887f;    /* Brown */
}


/* Monochrome Theme */
.monochrome-theme {
    --background-color: #e0e0e0; /* Light Gray */
    --text-color: #333333;       /* Dark Gray */
    --primary-color: #808080;    /* Gray */
}


/* Solarized Dark Theme */
.solarized-dark-theme {
    --background-color: #002b36; /* Base03 */
    --text-color: #839496;       /* Base0 */
    --primary-color: #b58900;    /* Yellow */
}



/* Apply variables */
body {
    background-color: var(--background-color);
    color: var(--text-color);
}


#activationCode {
    font-weight: bold;
    font-size: 18px;
    padding: 5px 10px;
    border: 2px solid black; /* Red border */
    border-radius: 5px;
    background-color: #dbdbdb; /* Light red background */
    color: black; /* Red text color */
    margin-right: 10px;
}
.image-wrap.my-3 {
    display: flex;
    flex-wrap: wrap;
    column-gap: 5px;
    row-gap: 5px;
    justify-content: center;
}
.image-wrap img {
    width: 44px;
    height: 44px;
}

/* 🌟 Zoom-In Effect */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 🎭 Shake Effect on Open */

/* Apply Effects */
.custom-modal-animation {
    animation: zoomIn 0.4s ease-out;
    border-radius: 15px;
    overflow: hidden;
}

/* 🌈 Colorful Header */
.modal-header {
    background: #d1d1d1;
    border-bottom: 3px solid #fff;
}

/* ✨ Button Hover Effect */
.animate-hover {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.animate-hover:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}
.iptv-section .card {
    height: auto;
    min-height: auto;
    padding: 0px;
}

.support_videos h5.card-title {
    margin-bottom: 10px;
}
.support_videos .card{min-height: 0px;
    margin-bottom: 0px;}
.iptv-section .image-wrap {
        justify-content: center !important;
}
.iptv-section .image-wrap img {
        height: 44px;
        object-fit: contain;
}
.channel-container {
    display: inline-block;
    padding: 4px;
    border-radius: 10px;
    background: linear-gradient(270deg, #fffdfd, #ffffff, #e49898);
    background-size: 600% 600%;
    animation: glowBorder 6s ease infinite;
}

@keyframes glowBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.channel-container img {
    width: 50px;
    border-radius: 8px;
    display: block;
}


.animated-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    border: 2px solid #fff;
    box-shadow: 0 0 0 rgba(209, 208, 208, 0.4);
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(236, 236, 236, 0.7);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(230, 228, 228, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(218, 219, 219, 0);
    }
  }
  .digit-box {
    width: 45px;
    height: 50px;
    font-size: 24px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
    transition: border-color 0.3s ease;
}

.digit-box:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
    outline: none;
}

.readonly-box {
    background-color: #f1f1f1;
}
/* Optional: Make sure the whole input line stays centered and responsive */
@media (max-width: 991px) {
    .digit-box {width: 19px;height: 25px;font-size: 1.0rem;padding:1px; border-radius: 4px}
    .special-nav-menu { flex-basis: 100%; flex-grow: 1; align-items: center; position: absolute; width: 100%; background-color: black; top: 57px; left: 0px; }
    .hide-mobile{display: none;}
    .profile-menu{flex-basis: auto;display: block !important;}
    .profile-menu a#profileDropdown {margin: 0px !important;padding: 0px !important;}
    .profile-menu ul.navbar-nav { align-items: flex-end !important; }
    .navbar-nav .dropdown-menu{position:absolute;}
}
@media (max-width: 319px) {
form#iptvVerifyForm .form-group
{    gap: 3px !important;
}
}
.animated-dual-color-btn {
    background-color: #dc3545; /* red */
    color: white;
    border: 2px solid #dc3545;
    padding: 0.5rem 2rem;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.animated-dual-color-btn:hover {
    background-color: white;
    color: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.6);
    transform: scale(1.05);
}
.store-links {
    display: flex;
    gap: 20px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.store-icon {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.store-icon img {
    height: 38px;
    transition: transform 0.3s ease;
    /* Removed grayscale filter */
}

.store-icon span {
    margin-left: 10px;
    color: #333;
    font-weight: 500;
}

.store-icon:hover img {
    transform: scale(1.1);
}

.store-icon:hover {
    transform: translateY(-3px);
}

/* Container */
.payment-box {
    max-width: 380px;
    margin: 20px auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-family: Arial, sans-serif;
}

/* Amount Text */
.payment-box .amount-text {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.payment-box .amount-text span {
    color: #e63946; /* red color for amount */
}

/* Payment Logos */
.payment-logo {
    display: block;
    margin: 15px auto 12px;
    max-width: 220px;
    width: 100%;
    height: auto;
}

/* Payment Button Base */
.payment-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}

/* Razorpay Button */
.payment-btn.razorpay {
    background-color: #ef4444;
    color: #ffffff;
    border: 2px solid #f87171; /* subtle border */
}

.payment-btn.razorpay:hover {
    background-color: #dc2626;
}

/* Cashfree Button */
.payment-btn.cashfree {
    background-color: #2563eb;
    color: #ffffff;
    border: 2px solid #3b82f6; /* subtle border */
}

.payment-btn.cashfree:hover {
    background-color: #1d4ed8;
}

/* Hover Effects for All Buttons */
.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* OR Divider */
.or-divider {
    display: flex;
    align-items: center;
    margin: 12px 0;
}

.or-divider::before,
.or-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d1d5db;
}

.or-divider span {
    padding: 0 10px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
}

/* Mobile Optimization */
@media (max-width: 480px) {
    .payment-box {
        padding: 18px;
    }

    .payment-logo {
        max-width: 180px;
    }

    .payment-btn {
        font-size: 15px;
        padding: 12px;
        margin-bottom: 16px;
    }

    .amount-text {
        font-size: 18px;
    }
}
