/* Responsive Jio Coin Calculator */
#jio-coin-calculator {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto; /* Ensure the container can scroll horizontally */
}

#jio-coin-calculator h2 {
    color: #4CAF50;
    margin-bottom: 20px;
}

#jio-coin-calculator label {
    font-size: 16px;
    margin-right: 10px;
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#jio-coin-calculator input, #jio-coin-calculator button {
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    width: auto;
    margin-bottom: 10px;
}

#jio-coin-calculator button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

#jio-coin-calculator button:hover {
    background-color: #45a049;
}

#jio-coin-calculator button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Table Responsive */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    overflow-x: auto;
    display: inline-table; /* Make the table a block element to enable scrolling */
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping */
}

th {
    background-color: #4CAF50;
    color: white;
}

/* Chart Responsive */
canvas {
    width: 100% !important;
    height: auto !important;
    max-height: 400px;
    margin-top: 20px;
}

/* Mobile Optimization */
@media (max-width: auto) {
    #jio-coin-calculator {
        padding: 15px;
    }

    #jio-coin-calculator h2 {
        font-size: 20px;
    }

    #jio-coin-calculator input, #jio-coin-calculator button {
        font-size: 14px;
        padding: 10px;
    }

    th, td {
        padding: 8px;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Additional Styles for Inventder-lyrebind Section */
#inventder-lyrebind {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

#inventder-lyrebind h1 {
    color: #4CAF50;
    margin-bottom: 20px;
    font-size: 24px;
}

#inventder-lyrebind h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

#inventder-lyrebind p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

/* Mobile Optimization for Inventder-lyrebind */
@media (max-width: auto) {
    #inventder-lyrebind {
        padding: 15px;
    }

    #inventder-lyrebind h1 {
        font-size: 20px;
    }

    #inventder-lyrebind h2 {
        font-size: 18px;
    }

    #inventder-lyrebind p {
        font-size: 14px;
    }
}