.cyrus-recharge-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
}

.cyrus-recharge-form {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 20px;
}

.form-section {
    margin-bottom: 20px;
}

.wallet-balance-section {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.wallet-balance {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
    margin: 0;
    padding: 0;
}

.wallet-balance-label {
    font-weight: 500;
}

.wallet-balance-amount {
    font-weight: 600;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.form-control-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.mobile-input-group,
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #2c3e50;
}

.mobile-input-group {
    display: flex;
    align-items: center;
    padding: 0;
    background: #f8f9fa;
}

.country-code {
    padding: 12px 16px;
    background: #e9ecef;
    color: #2c3e50;
    font-weight: 500;
    border-right: 2px solid #e9ecef;
}

#mobile_number {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 12px 16px !important;
}

.mobile-input-group:focus-within,
.form-group input:focus,
.form-group select:focus {
    border-color: #2271b1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(34,113,177,0.1);
}

.connection-type-group {
    position: relative;
    margin-bottom: 1rem;
}

.connection-type-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #2c3e50;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.connection-type-group select:focus {
    border-color: #2271b1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(34,113,177,0.1);
}

.connection-type-group::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #2c3e50;
    pointer-events: none;
}

.connection-type {
    display: flex;
    gap: 20px;
    padding: 5px;
}

.connection-type label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.connection-type label:hover {
    background: #fff;
    border-color: #2271b1;
}

.connection-type input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    margin: 0;
    position: relative;
    transition: all 0.2s;
}

.connection-type input[type="radio"]:checked {
    border-color: #2271b1;
}

.connection-type input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #2271b1;
    border-radius: 50%;
}

.connection-type label:has(input[type="radio"]:checked) {
    background: #fff;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34,113,177,0.1);
}

.amount-input-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.amount-input-group .currency-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: #f5f5f5;
    border-right: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    color: #666;
    font-weight: 500;
    min-width: 36px;
    flex-shrink: 0;
}

.amount-input-group input[type="number"] {
    flex: 1;
    border: none !important;
    padding: 8px 12px !important;
    width: calc(100% - 40px) !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    z-index: 1;
}

.amount-input-group input[type="number"]:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Apply the same style to DTH and Bill Payment forms */
.dth-recharge-form .amount-input-group,
.bill-payment-form .amount-input-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.dth-recharge-form .amount-input-group .currency-symbol,
.bill-payment-form .amount-input-group .currency-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: #f5f5f5;
    border-right: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    color: #666;
    font-weight: 500;
}

.dth-recharge-form .amount-input-group input[type="number"],
.bill-payment-form .amount-input-group input[type="number"] {
    flex: 1;
    border: none !important;
    padding: 8px 12px !important;
    width: 100% !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.submit-button {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(45deg, #2271b1, #135e96);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background: linear-gradient(45deg, #135e96, #2271b1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34,113,177,0.2);
}

/* Plans Section */
.plans-section {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

#plans-container {
    width: 100%;
    margin: 20px auto;
    padding: 0;
    box-sizing: border-box;
}

.recharge-offers-section {
    width: 100%;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    margin: 0 auto;
}

.offers-header-container {
    width: 100%;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    padding: 10px 15px;
    box-sizing: border-box;
}

.offers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.offers-header h3 {
    margin: 0;
    color: #1d2327;
    font-size: 1.1em;
    font-weight: 600;
}

.view-all-plans-btn {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.2s;
}

.view-all-plans-btn:hover {
    background: #135e96;
    transform: translateY(-1px);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.plan-card {
    width: 100%;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #2271b1;
}

.plan-card.selected {
    border: 2px solid #2271b1;
    box-shadow: 0 0 0 2px rgba(34,113,177,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cyrus-recharge-container {
        padding: 10px;
        width: 100%;
        margin: 0;
    }

    .cyrus-recharge-form {
        padding: 20px;
    }

    .plans-section,
    #plans-container,
    .recharge-offers-section,
    .offers-header-container {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 10px;
    }

    .plan-card {
        margin: 0;
        width: 100%;
    }

    .offers-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .connection-type {
        flex-direction: column;
        gap: 10px;
    }

    .connection-type label {
        width: 100%;
    }
}

/* Fix for smaller screens */
@media (max-width: 480px) {
    .cyrus-recharge-container,
    .plans-section,
    #plans-container,
    .recharge-offers-section {
        width: 100%;
        padding: 8px;
        margin: 0;
        overflow-x: hidden;
    }

    .offers-header-container {
        padding: 8px;
    }

    .plans-grid {
        padding: 0;
    }

    .plan-card {
        padding: 10px;
    }
}

/* Off-canvas Styles */
.plans-offcanvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 600px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.plans-offcanvas.active {
    right: 0;
}

.plans-offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.plans-offcanvas-overlay.active {
    display: block;
}

.plans-offcanvas-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 1;
}

.plans-offcanvas-content {
    padding: 15px;
}

/* Bill Payment & DTH Styles */
.bill-details-section,
.dth-info-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.bill-details,
.dth-info {
    background: white;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.bill-row,
.dth-row,
.trans-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.bill-row:last-child,
.dth-row:last-child,
.trans-row:last-child {
    border-bottom: none;
}

.bill-label,
.dth-label,
.trans-label {
    font-weight: 500;
    color: #555;
}

.bill-value,
.dth-value,
.trans-value {
    color: #333;
    font-weight: 400;
}

.bill-amount-row .bill-value {
    font-weight: 700;
    color: #2271b1;
    font-size: 1.1em;
}

.fetch-bill-button,
.fetch-dth-info-button,
.pay-bill-button,
.dth-recharge-button,
.new-bill-button,
.new-recharge-button {
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.fetch-bill-button:hover,
.fetch-dth-info-button:hover,
.pay-bill-button:hover,
.dth-recharge-button:hover,
.new-bill-button:hover,
.new-recharge-button:hover {
    background: #135e96;
}

.fetch-bill-button:disabled,
.fetch-dth-info-button:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.payment-success,
.recharge-success {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.success-icon {
    margin-bottom: 20px;
}

.transaction-details {
    background: white;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-align: left;
}

/* Responsive styles */
@media (max-width: 768px) {
    .bill-row,
    .dth-row,
    .trans-row {
        flex-direction: column;
    }
    
    .bill-value,
    .dth-value,
    .trans-value {
        margin-top: 5px;
    }
}

/* ============= Bill Payment Form Styles ============= */
.cyrus-bill-payment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* Wallet Balance Section */
.wallet-balance-section {
    margin-bottom: 25px;
    text-align: right;
}

.wallet-balance {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(67, 206, 162, 0.3);
}

.wallet-balance .balance-label {
    margin-right: 10px;
    font-size: 14px;
}

.wallet-balance .balance-amount {
    font-size: 18px;
    font-weight: 700;
}

/* Bill Payment Layout */
.bill-payment-layout {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .bill-payment-layout {
        flex-direction: row;
        gap: 30px;
    }
    
    .form-column {
        flex: 1;
        max-width: 500px;
    }
    
    .details-column {
        flex: 1;
        max-width: 500px;
    }
}

/* Form Styling */
.bill-payment-form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #4d90fe;
    box-shadow: 0 0 0 2px rgba(77, 144, 254, 0.2);
    outline: none;
}

.form-group input:disabled,
.form-group select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Operator Select2 Styling */
.operator-container.loading:after {
    content: '';
    position: absolute;
    right: 30px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 2px solid #ddd;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.operator-select-item {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.operator-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    font-weight: bold;
}

.operator-name {
    flex: 1;
}

.operator-dropdown {
    z-index: 9999;
    min-width: 300px !important;
}

/* Fetch Bill Button */
.fetch-bill-action {
    margin-top: 25px;
    margin-bottom: 20px;
}

.fetch-bill-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.fetch-bill-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.fetch-bill-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.fetch-bill-button.loading {
    position: relative;
    color: transparent;
}

.fetch-bill-button.loading:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Bill Details Styling */
.bill-empty-state {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.empty-state-icon {
    margin-bottom: 15px;
    color: #a0aec0;
}

.bill-empty-state h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #4a5568;
}

.bill-empty-state p {
    color: #718096;
    margin-bottom: 0;
}

.bill-details-card,
.amount-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    display: none;
}

.bill-details-card.visible,
.amount-card.visible {
    opacity: 1;
    transform: translateY(0);
    display: block;
    animation: fadeIn 0.5s;
}

.bill-details-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #4a5568;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 10px;
}

.bill-details-table {
    width: 100%;
    border-collapse: collapse;
}

.bill-details-table th,
.bill-details-table td {
    padding: 10px 5px;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
}

.bill-details-table th {
    color: #4a5568;
    font-weight: 500;
    width: 40%;
    text-align: left;
}

.bill-details-table td {
    color: #2d3748;
    font-weight: 600;
    text-align: right;
}

/* Enhanced bill details styling */
.bill-details-table .bill-amount-row th,
.bill-details-table .bill-amount-row td {
    border-top: 2px solid #ddd;
    background-color: #f9f9f9;
    padding: 15px 5px;
}

/* Payment status colors */
.payment-status-paid {
    color: #28a745 !important;
    font-weight: bold;
}

.payment-status-unpaid {
    color: #dc3545 !important;
    font-weight: bold;
}

/* Highlight row on hover */
.bill-details-table tr:hover {
    background-color: #f8f9fa;
}

/* Amount Input Styling */
.amount-input-wrapper {
    position: relative;
}

.currency-symbol {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #4a5568;
    font-weight: 500;
}

.amount-input-wrapper input {
    padding-left: 30px;
}

/* Pay Bill Button */
.pay-bill-button {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    margin-top: 10px;
}

.pay-bill-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 239, 125, 0.3);
}

.pay-bill-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pay-bill-button.loading {
    position: relative;
    color: transparent;
}

.pay-bill-button.loading:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Payment Success Styling */
.payment-success {
    display: none;
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.payment-success-visible .bill-payment-layout {
    display: none;
}

.payment-success-visible .wallet-balance-section {
    display: none;
}

.success-icon {
    margin-bottom: 20px;
}

.success-icon svg {
    color: #28a745;
    stroke-width: 2px;
    width: 64px;
    height: 64px;
}

.payment-success h2 {
    margin-bottom: 20px;
    color: #28a745;
}

.success-details {
    max-width: 400px;
    margin: 0 auto 20px;
}

.success-details-table {
    width: 100%;
    text-align: left;
}

.success-details-table th {
    font-weight: 600;
    padding: 8px;
    color: #666;
}

.success-details-table td {
    padding: 8px;
    color: #333;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.new-bill-button,
.download-receipt-button {
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.download-receipt-button {
    background-color: #28a745;
}

.new-bill-button:hover {
    background-color: #0069d9;
}

.download-receipt-button:hover {
    background-color: #218838;
}

/* Toast Notifications */
.cyrus-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 300px;
}

.cyrus-toast {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.cyrus-toast.hide {
    animation: slideOut 0.3s ease-out forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.cyrus-toast.success {
    border-left: 4px solid #38ef7d;
}

.cyrus-toast.error {
    border-left: 4px solid #ef5350;
}

.cyrus-toast.warning {
    border-left: 4px solid #ffb74d;
}

.cyrus-toast.info {
    border-left: 4px solid #4fc3f7;
}

.toast-content {
    flex: 1;
    padding-right: 20px;
}

.toast-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #a0aec0;
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 0;
    line-height: 1;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }
    
    .cyrus-bill-payment-container {
        padding: 15px;
    }
    
    .bill-payment-form {
        padding: 20px;
    }
}

@media (min-width: 992px) {
    .mobile-only {
        display: none !important;
    }
    
    .bill-details-card,
    .amount-card {
        margin-bottom: 25px;
    }
}

/* Fix for Select2 dropdown positioning */
.select2-container--open .select2-dropdown {
    z-index: 10000;
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.loading-pulse {
    animation: pulse 1.5s infinite ease-in-out;
}

/* DTH Recharge Layout */
.dth-recharge-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.dth-recharge-layout .form-column {
    flex: 1;
    min-width: 300px;
}

.dth-recharge-layout .details-column {
    flex: 1;
    min-width: 300px;
}

.dth-empty-state {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.empty-state-icon {
    margin-bottom: 20px;
    color: #6c757d;
}

.dth-info-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.dth-info-table {
    width: 100%;
    border-collapse: collapse;
}

.dth-info-table th {
    text-align: left;
    padding: 8px 0;
    color: #6c757d;
    font-weight: normal;
    width: 40%;
}

.dth-info-table td {
    padding: 8px 0;
    font-weight: 500;
}

.dth-plans-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.dth-plans-container {
    margin-top: 15px;
}

.loading-plans {
    color: #6c757d;
    text-align: center;
    padding: 15px 0;
}

.dth-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.dth-plan-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.2s;
    position: relative;
}

.dth-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #ccc;
}

.dth-plan-card.selected {
    border: 2px solid #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.plan-name {
    font-weight: 600;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 1.2em;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 8px;
}

.plan-description {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 8px;
    min-height: 40px;
}

.plan-validity {
    font-size: 0.85em;
    color: #495057;
    margin-bottom: 12px;
}

.select-plan-btn {
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.2s;
}

.select-plan-btn:hover {
    background-color: #007bff;
    color: white;
}

.amount-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.amount-input-wrapper {
    position: relative;
}

.currency-symbol {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.amount-group input {
    padding-left: 25px;
}

.fetch-dth-action {
    margin-top: 20px;
}

.fetch-dth-info-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.fetch-dth-info-button:hover {
    background-color: #0069d9;
}

.fetch-dth-info-button.loading {
    background-color: #6c757d;
    cursor: not-allowed;
}

.dth-recharge-button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.dth-recharge-button:hover {
    background-color: #218838;
}

.recharge-success {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.success-icon {
    color: #28a745;
    margin-bottom: 20px;
}

.success-details-table {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    border-collapse: collapse;
}

.success-details-table th {
    text-align: left;
    padding: 8px 12px;
    color: #6c757d;
    font-weight: normal;
    border-bottom: 1px solid #e9ecef;
}

.success-details-table td {
    padding: 8px 12px;
    font-weight: 500;
    border-bottom: 1px solid #e9ecef;
}

.new-recharge-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.new-recharge-button:hover {
    background-color: #0069d9;
}

.dth-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.error-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

.error-message {
    flex: 1;
}

.dth-message {
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.dth-message.info {
    background-color: #e3f2fd;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.dth-message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.dth-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Toast notifications */
.cyrus-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

.cyrus-toast {
    background: white;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: flex-start;
    animation: slideIn 0.3s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.cyrus-toast.hide {
    animation: slideOut 0.3s ease-in forwards;
}

.cyrus-toast.info {
    border-left: 5px solid #007bff;
}

.cyrus-toast.success {
    border-left: 5px solid #28a745;
}

.cyrus-toast.warning {
    border-left: 5px solid #ffc107;
}

.cyrus-toast.error {
    border-left: 5px solid #dc3545;
}

.toast-content {
    flex: 1;
    padding-right: 20px;
}

.toast-close {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #6c757d;
    position: absolute;
    top: 8px;
    right: 8px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    .desktop-only {
        display: none !important;
    }
    
    .dth-info-section {
        margin-top: 20px;
    }
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
}

.use-suggested {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.use-suggested:hover {
    background-color: #45a049;
}

.dth-error, .dth-message {
    margin-bottom: 15px;
}

/* DTH Recharge Container Styles */
.dth-recharge-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

/* Three Column Layout */
.three-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

/* Card Styles */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 15px;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: #222;
    color: white;
    border-radius: 8px 8px 0 0;
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, #a155da, #d090ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-header h3 i {
    margin-right: 10px;
    color: #a155da;
    font-size: 20px;
}

.card-body {
    padding: 15px;
}

/* Wallet Balance */
.wallet-balance {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.wallet-icon {
    font-size: 20px;
    color: #4a6cf7;
    margin-right: 10px;
}

.wallet-text {
    flex: 1;
}

.wallet-label {
    font-size: 12px;
    color: #666;
}

.balance-amount {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}

.btn i {
    margin-right: 5px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background-color: #4a6cf7;
    color: white;
}

.btn-primary:hover {
    background-color: #3a5ce5;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Input with Icon */
.input-with-icon {
    position: relative;
    width: 100%;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #2271b1;
    z-index: 1;
}

.input-with-icon input {
    padding-left: 35px;
    width: 100%;
}

/* New amount input styles with better currency symbol positioning */
.amount-input-icon {
    position: relative;
    width: 100%;
}

.amount-input-icon i {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f1;
    border: 1px solid #8c8f94;
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #2271b1;
}

.amount-input-icon input {
    padding-left: 50px;
    width: 100%;
    text-indent: 0;
}

.amount-input-icon input:focus {
    border-color: #2271b1;
}

.amount-input-icon input:focus + i {
    border-color: #2271b1;
    background-color: #f0f7fc;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 20px 15px;
}

.empty-icon {
    font-size: 36px;
    color: #ccc;
    margin-bottom: 10px;
}

.empty-state h3 {
    font-size: 16px;
    margin: 10px 0;
    color: #333;
}

.empty-state p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-item {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}

.info-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.info-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Compact Info Card (Mobile) */
.compact-info-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

/* Payment Options */
.payment-options {
    margin: 15px 0;
}

.payment-option-label {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.payment-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.payment-option {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option.active {
    background-color: #e8f0fe;
    border-color: #4a6cf7;
}

.payment-icon {
    font-size: 18px;
    color: #4a6cf7;
    margin-bottom: 5px;
}

.payment-name {
    font-size: 12px;
    color: #333;
}

/* DTH Plans - Compact Cards */
.dth-plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.dth-plan-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.dth-plan-card:hover {
    border-color: #4a6cf7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dth-plan-card.selected {
    background-color: #e8f0fe;
    border-color: #4a6cf7;
}

.plan-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plan-price {
    font-size: 16px;
    font-weight: 600;
    color: #4a6cf7;
    margin-bottom: 5px;
}

.plan-description {
    font-size: 11px;
    color: #666;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 26px;
}

.plan-validity {
    font-size: 11px;
    color: #888;
}

.select-plan-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: #4a6cf7;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 3px 6px;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.2s;
}

.dth-plan-card:hover .select-plan-btn {
    opacity: 1;
}

/* Success Section */
.success-header {
    text-align: center;
    padding: 20px 15px;
    background-color: #e8f5e9;
}

.success-icon {
    font-size: 36px;
    color: #4caf50;
    margin-bottom: 10px;
}

.success-details {
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    flex: 0 0 40%;
    font-size: 14px;
    color: #666;
}

.detail-value {
    flex: 0 0 60%;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.success-actions {
    text-align: center;
    margin-top: 20px;
}

/* Toast Notifications */
.cyrus-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 300px;
}

.cyrus-toast {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    padding: 12px 15px;
    margin-bottom: 10px;
    position: relative;
    animation: toast-in 0.3s ease-in-out;
    transition: all 0.3s;
}

.cyrus-toast.hide {
    opacity: 0;
    transform: translateX(100%);
}

.cyrus-toast.info {
    border-left: 4px solid #2196F3;
}

.cyrus-toast.success {
    border-left: 4px solid #4CAF50;
}

.cyrus-toast.warning {
    border-left: 4px solid #FF9800;
}

.cyrus-toast.error {
    border-left: 4px solid #F44336;
}

.toast-content {
    margin-right: 20px;
    font-size: 14px;
    color: #333;
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #999;
}

@keyframes toast-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Error and Message Styles */
.dth-error, .dth-message {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.dth-error {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    color: #d32f2f;
}

.dth-message {
    background-color: #e8f4fd;
    border-left: 4px solid #2196f3;
    color: #0d47a1;
}

.error-icon, .message-icon {
    margin-right: 10px;
    font-size: 18px;
}

.error-message, .message-content {
    flex: 1;
    font-size: 14px;
}

/* Loading State */
.loading-plans {
    text-align: center;
    padding: 15px;
    color: #666;
    font-size: 14px;
}

.use-suggested {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.use-suggested:hover {
    background-color: #45a049;
}

.dth-error, .dth-message {
    margin-bottom: 15px;
}

/* Fallback Note */
.fallback-note {
    font-size: 12px;
    color: #777;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .three-column-layout {
        grid-template-columns: 1fr;
    }
    
    .plans-column {
        grid-column: span 2;
    }
    
    .dth-plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .three-column-layout {
        grid-template-columns: 1fr;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .plans-column {
        grid-column: span 1;
    }
    
    .mobile-recharge-container .payment-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-recharge-container .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-recharge-container .plan-search {
        margin-bottom: 10px;
    }
    
    .mobile-recharge-container .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .mobile-recharge-container .plan-filter {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
}

/* Main Container Styles */
.mobile-recharge-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    margin-top: 20px;
}

/* Wallet Balance */
.wallet-balance {
    background: linear-gradient(135deg, #2271b1, #135e96);
    border-radius: 15px;
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(34, 113, 177, 0.15);
}

.wallet-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.wallet-text {
    flex: 1;
}

.wallet-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.wallet-amount {
    font-size: 24px;
    font-weight: 600;
}

.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    padding: 20px;
    background: linear-gradient(135deg, #2271b1, #135e96);
    color: white;
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.mobile-input-group {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.country-code {
    padding: 12px 15px;
    background: #f8f9fa;
    color: #333;
    font-weight: 500;
    border-right: 2px solid #e2e8f0;
}

.mobile-input-group input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
}

.mobile-input-group:focus-within {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #2271b1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 113, 177, 0.1);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #2271b1;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.info-value {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.amount-input-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.amount-input-group .currency-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: #f5f5f5;
    border-right: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    color: #666;
    font-weight: 500;
    min-width: 36px;
    flex-shrink: 0;
}

.amount-input-group input[type="number"] {
    flex: 1;
    border: none !important;
    padding: 8px 12px !important;
    width: calc(100% - 40px) !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    z-index: 1;
}

.amount-input-group input[type="number"]:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.recharge-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2271b1, #135e96);
    color: white;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recharge-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 113, 177, 0.2);
}

.plans-column {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.plans-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plans-search {
    width: 250px;
}

.plans-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 0 12px;
    margin-bottom: 15px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    cursor: grab;
    white-space: nowrap;
}

.plans-tabs::-webkit-scrollbar {
    height: 4px;
}

.plans-tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.plans-tabs::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.plans-tabs::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.plans-tabs.grabbing {
    cursor: grabbing;
}

.plan-tab {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 0.9em;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.plan-tab:hover {
    background: #e9e9e9;
}

.plan-tab.active {
    background: #2271b1;
    color: white;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}

.plan-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-card:hover {
    border-color: #2271b1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 113, 177, 0.1);
}

.plan-card.selected {
    border-color: #2271b1;
    background: rgba(34, 113, 177, 0.05);
}

.plan-amount {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.plan-validity {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.plan-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.plan-type {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.plan-type.FULLTT {
    background: #e6f4ff;
    color: #0066cc;
}

.plan-type.COMBO {
    background: #fff2e6;
    color: #cc6600;
}

.plan-type.DATA {
    background: #e6ffe6;
    color: #006600;
}

.plan-type.SMS {
    background: #ffe6e6;
    color: #cc0000;
}

.plan-type.SPECIAL {
    background: #f2e6ff;
    color: #6600cc;
}

@media (max-width: 992px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .mobile-recharge-container {
        padding: 10px;
    }
    
    .wallet-balance {
        padding: 15px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-tab {
        padding: 6px 12px;
        font-size: 13px;
    }
}

#plans-empty-state {
    text-align: center;
    padding: 40px 20px;
}

#plans-empty-state .empty-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #2271b1;
    margin: 0 auto 20px;
}

#plans-empty-state h3 {
    margin: 0 0 10px;
    color: #333;
}

#plans-empty-state p {
    color: #666;
    margin: 0;
}

/* Mobile plan card view adjustments */
@media (max-width: 767px) {
    .plan-card {
        position: relative;
    }
    
    .plan-card .plan-details-popup {
        display: none;
    }
}

.test-mode-option {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #fff8e1;
    border: 1px dashed #ffc107;
    border-radius: 4px;
    font-size: 0.9rem;
}

.test-mode-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #856404;
}

.test-mode-option input[type="checkbox"] {
    margin-right: 8px;
}

.test-mode-badge {
    display: inline-block;
    padding: 2px 6px;
    background-color: #fff8e1;
    border: 1px dashed #ffc107;
    color: #856404;
    font-size: 0.7rem;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

.amount-group.disabled {
    opacity: 0.6;
}

.amount-group.disabled:after {
    content: "Bill already paid";
    display: block;
    font-size: 12px;
    color: #28a745;
    font-style: italic;
    margin-top: 5px;
}
