@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.heading {
    font-size: 22px;
    margin: 5px 30px;
    background:linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));    border-radius: 5px;
    padding: 8px 18px;
    color: #face52;
    width: fit-content;
    font-weight: 700;
    height: fit-content;
    font-family: 'Montserrat', sans-serif;
    margin-top: 100px;
}



.table-container .link{
    color: white;
    text-decoration: none;
    padding: 4px 7px;
    background-color: blue;
    border-radius: 6px;
    font-size: small;

}

/* Table container for responsive layout */
.table-container {
    /* width: 100%; */
    overflow-x: auto; /* Enable horizontal scrolling */
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 30px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Styling for the table */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
    table-layout: fixed; /* Ensure columns have equal width */
    word-wrap: break-word; /* Ensure long content wraps inside cells */
}

/* Table headers */
.styled-table thead tr {
    background-color: #face52;
    color: black;
    text-align: left;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

/* Table rows */
.styled-table tbody tr {
    border-bottom: 1px solid #face52;


}

.styled-table tbody tr:nth-of-type(even) {
    background-color: rgba(255, 255, 255, 0.1);
}



/* Cell padding */
.styled-table th, 
.styled-table td {
    padding: 12px 15px;
    vertical-align: top; /* Aligns content to the top */
    word-wrap: break-word; /* Breaks long words into the next line */
    white-space: normal; /* Allows text to wrap */
}

/* Responsive: Prevent page from scrolling horizontally, only the table can */
.table-container {
    max-width: 100%;
    overflow-x: auto;
}

@media screen and (max-width: 600px) {
    .styled-table {
        min-width: 600px; /* Ensures the table does not shrink below this width */
    }
    .table-container {
        overflow-x: auto; 
        margin-bottom: 20px;
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .heading{
        margin-left: 15px;
        font-size: medium;
    }

    .styled-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 10px;
        text-align: left;
        min-width: 600px; /* Prevent shrinking too much */
    }

}
