/* General Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #f5f6fa, #f5f6fa);
}

body {
    display: flex;
    flex-direction: column;
}

.user-list {
    background-image: url('idcard.jpg'); /* Make sure this path is correct */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
}

/* Header Styles */
header {
    background: linear-gradient(to right, #eb3d00, #eb3d00);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

/* Footer Styles */
footer {
    background-color: #eb3d00;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Container Styles */
.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.btn {
    margin-top: 20px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #f4f4f4;
}

table tr:hover {
    background-color: #f0f8ff;
}

table td img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

/* Media Queries */

/* Tablets and smaller devices */
/* Tablets and smaller devices */
@media (max-width: 768px) {
    .header-container {
        padding: 0 10px;
    }

    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 2em;
    }

    .user-list {
        padding: 15px;
    }

    table td img {
        width: 40px;
        height: 40px;
    }

    .table-container {
        overflow-x: auto; /* Ensure the table can scroll horizontally if necessary */
    }

    table {
        font-size: 0.875rem; /* Slightly smaller font size for better fit */
    }

    .table td, .table th {
        padding: 0.5rem; /* Reduced padding for better fit on smaller screens */
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    .container {
        width: 100%;
        margin: 20px auto;
        padding: 10px;
    }

    .user-list {
        padding: 10px;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .btn {
        margin-top: 15px;
    }

    table td img {
        width: 30px;
        height: 30px;
    }

    .table-container {
        overflow-x: auto; /* Make sure the table container scrolls horizontally */
    }

    table {
        font-size: 0.75rem; /* Further reduced font size for very small screens */
    }

    .table td, .table th {
        padding: 0.25rem; /* Further reduced padding for very small screens */
    }
    footer {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}
}

