body {
    font-family: Arial, sans-serif;
    background-color: #800000; /* Maroon */
    color: #FFD700; /* Gold */
    margin: 0;
    padding: 0;
    background-image: url("background.jpg");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
}

.login-container {
    background-color: #333; /* Dark gray */
    border: 2px solid #ffffff;
    border-radius: 4px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 1 2px 4px rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    width: 300px;
    text-align: center;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: gold;
    color: #000;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #ffffff; /* Maroon */
}

/* Form styling */
#resourceForm {
    margin-bottom: 10px;
    margin-left: 20px;
    margin-top: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Three columns */
    gap: 20px; /* Space between columns */
}

.form-column {
    display: flex;
    flex-direction: column;
}

form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

form input{
    width: 80%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 2px solid maroon;
    border-radius: 4px;
    font-size: 20px;
}



.button-row {
    grid-column: span 3; /* Button spans all three columns */
    display: flex;
    justify-content: center; /* Center the button */
    margin-top: 10px;
    
}

form button {
    padding: 10px 20px;
    background-color: #800000; /* Maroon */
    color: #FFD700; /* Gold */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

form button:hover {
    background-color: #600000; /* Darker Maroon */
}

/* Image Column styling */
.image-column {
    display: flex;
    align-items: center; /* Center the image vertically */
    justify-content: center; /* Center the image horizontally */
}

.image-column img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-right: 60px;
    margin-top: 60px;
    border: 0px solid #800000; /* Maroon border for the image */
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 2px solid #ffffff; /* Maroon border for the table */
}

th, td {
    padding: 10px;
    color: white;
    font-weight: bold;
    text-align: center;
    border: 2px solid #ddd; /* Border for table cells */
}

th {
    background-color: #000000; /* Maroon */
    color: #FFD700; /* Gold */
}

tr:hover {
    background-color: #000000; /* Light gray hover effect */
}

.actions button {
    margin-right: 5px;
    padding: 5px 10px;
    background-color: #ffffff; /* Maroon */
    color: #000000; /* Gold */
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.actions button:hover {
    background-color: gold; /* Darker Maroon */
}

/* Export and Import buttons */
#exportBtn, #importBtn, #printBtn {
    margin-top: 20px;
    margin-left: 25px;
    margin-right: 25px;
    padding: 10px 20px;
    background-color: gold; /* Maroon */
    color: black; /* Gold */
    border-radius: 10px;
    border-width: 0px;
    border-color: rgb(255, 255, 255);
    cursor: pointer;
    font-size: 16px;
    

}

#exportBtn:hover, #importBtn:hover, #printBtn:hover {
    background-color: white; /* Darker Maroon */
}

/* styles.css */
@media print {
    body * {
        visibility: hidden; /* Hide everything by default */
    }

    #resourceTable, #resourceTable * {
        visibility: visible; /* Show the table and its contents */
    }

    #resourceTable {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    /* Hide buttons and other unnecessary elements */
    #printBtn, #exportBtn, #importBtn, .actions {
        display: none;
    }
}


/* Style for the filter container */
.filter-container {
    margin: 20px 0;
    text-align: center;
}

/* Style for the filter label */
.filter-container label {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin-right: 10px;
}

/* Style for the filter input box */
.filter-container input[type="text"] {
    padding: 8px 12px;
    font-size: 16px;
    width: 5%;
    border: 2px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

/* Style for the filter input box on focus */
.filter-container input[type="text"]:focus {
    border-color: gold;
    box-shadow: 0 0 5px gold(0, 123, 255, 0.5);
}

/* Style for the filter input box placeholder */
.filter-container input[type="text"]::placeholder {
    color: #ffffff;
}