/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
}
.container2 {
    max-width: 95%;
    margin: 2px auto;
    /*padding: 15px;*/
    background-color: #1c326c;
    color:#fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Container Styles */
.container {
    max-width: 95%;
    margin: 10px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container1 {
    max-width: 100%;
    margin: 2px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #fff;
    font-size: 2em;
    margin-bottom: 20px;
    margin-top: 0px;
}

h2 {
    margin-top: 0px;
    text-align: center;
    color: #fff;
    font-size: 1.5em;
}

/* Form Styles */
form .form-group {
    margin-bottom: 10px;
}

form label {
    display: block;
    font-size: 14px;
    color: #333;
}

form input ,
form select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

form button {
    padding: 7px 0px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    width: 15%;
    box-sizing: border-box;
    text-align: center;
    display: block;
    margin: 0 auto;
}

form button:hover {
    background-color: #0056b3;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

table th, table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ccc;
}

table th {
    background-color: #f1f1f1;
}

table td a {
    text-decoration: none;
    color: #007bff;
    word-wrap: break-word;
}

/* Copy Button Styling */
.copy-button {
    padding: 6px 12px;
    background-color: #1c326c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.copy-button:hover {
    background-color: #218838;
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    padding: 12px 18px;
    font-size: 16px;
    background-color: #1c326c;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.pagination a:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Active Page Styling (Current Page) */
.pagination .active-page {
    background-color: #ff6347; /* Tomato color for active page */
    color: white;
    font-weight: bold;
}

.pagination .active-page:hover {
    background-color: #e53e3e; /* Darker tomato on hover */
}

/* Disabled Pagination Buttons (Previous & Next) */
.pagination .disabled {
    background-color: #ddd;
    color: #999;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 20px;
        margin: 15px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.4em;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 800px;
    }

    form input,
    form button {
        font-size: 14px;
    }

    .pagination {
        flex-direction: column;
        gap: 5px;
    }

    .pagination a,
    .pagination span {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }

    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.2em;
    }

    form input,
    form button {
        font-size: 13px;
        padding: 10px;
    }

    table td {
        font-size: 14px;
        padding: 8px;
    }

    .pagination {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .pagination a,
    .pagination span {
        padding: 10px 15px;
        font-size: 14px;
    }

    .copy-button {
        padding: 6px 10px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 8px;
    }

    h1 {
        font-size: 1.4em;
    }

    h2 {
        font-size: 1.1em;
    }

    form input,
    form button {
        font-size: 12px;
        padding: 8px;
    }

    table td {
        font-size: 12px;
        padding: 6px;
    }

    .pagination {
        flex-direction: column;
        gap: 8px;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 12px;
    }

    .copy-button {
        padding: 5px 8px;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 1.2em;
    }

    h2 {
        font-size: 1em;
    }

    form input,
    form button {
        font-size: 12px;
        padding: 8px;
    }

    table td {
        font-size: 11px;
        padding: 5px;
    }

    .pagination {
        flex-direction: column;
        gap: 6px;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 12px;
    }

    .copy-button {
        padding: 4px 8px;
    }
}

/* General Table Styling */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    font-size: 10px;
}

.responsive-table th, .responsive-table td {
    padding: 5px;
    text-align: left;
    border: 1px solid #ddd;
}

/* Header Row Styling */
.responsive-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/* Link Styling */
.responsive-table td a {
    color: #007bff;
    text-decoration: none;
    
}

.responsive-table td a:hover {
    text-decoration: underline;
}

/* Copy Button Styling */
/*.copy-button {*/
/*    padding: 8px 15px;*/
/*    background-color: #1c326c;*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 5px;*/
/*    cursor: pointer;*/
/*}*/

/*.copy-button:hover {*/
/*    background-color: #0056b3;*/
/*}*/

/* Responsiveness: On small screens, make the table scrollable horizontally */
@media screen and (max-width: 768px) {
    .responsive-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Style the header on mobile devices */
    .responsive-table th {
        text-align: center;
    }

    /* For mobile, make the table row appear like stacked content */
    .responsive-table td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        text-transform: uppercase;
    }

    .responsive-table td:first-child {
        padding-left: 20px;
    }

    .responsive-table th, .responsive-table td {
        font-size: 14px;
    }
}

/* Responsiveness for smaller screens */
@media screen and (max-width: 480px) {
    .responsive-table td {
        padding-left: 40%;
    }

    .responsive-table td::before {
        left: 15px;
    }
}
/* Grid Layout for Larger Screens */
.row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.col-md-4 {
    flex: 1;
}

/* Responsive Styles for Smaller Screens */
@media screen and (max-width: 768px) {
    .row {
        flex-direction: column;  /* Stack the columns vertically */
    }

    .col-md-4 {
        flex: none;
        width: 100%;
    }

    /* Style the inputs and button to be more responsive */
    input[type="url"], input[type="text"] {
        width: 100%; /* Ensure inputs take full width */
    }

    button {
        width: 100%; /* Button takes full width */
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    label, input[type="url"], input[type="text"], button {
        font-size: 14px;
    }
}


