/* Ensure full height for layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

/* Background with image and overlay */
body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(rgba(255,255,255,0.5), rgba(0,0,0,0.5)), url('../images/resolve_back.jpeg');
    background-attachment: fixed;
    background-size: cover;
}

/* Modern header and footer with gradient */
#header, #footer {
    background: linear-gradient(to right, #2c3e50, #4ca1af); /* Purlple */
    color: white;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

/* Main content with glassmorphism */
#main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Modern typography for headings */
h1, h2, h3 {
    font-weight: 500;
    margin-bottom: 15px;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

/* Modern buttons with animations */
.button, .btn, input[type="submit"], input[type="button"] {
    background-color: #DC143C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.button:hover, .btn:hover, input[type="submit"]:hover, input[type="button"]:hover {
    background-color: #c11236;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Interactive links */
a:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Modern table styling */
.section, .panel, table {
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 12px;
    text-align: left;
}

table th {
    background-color: rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

table tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Navigation bar styling */
.nav-tabs {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 20px;
}

.nav-tabs li a {
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-tabs li a:hover, .nav-tabs li.active a {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Search bar and action buttons container */
#search-form, .action-buttons {
    margin-bottom: 20px;
}

#search-form input[type="text"] {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive design */
@media (max-width: 768px) {
    #main-content {
        padding: 10px;
        margin: 10px;
    }

    table th, table td {
        padding: 8px;
    }

    #header, #footer {
        padding: 10px;
    }

    .nav-tabs li a {
        padding: 8px 10px;
    }
}
input[type="submit"],
button[type="submit"] {
    background-color: #DC143C !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    background-color: #c11236 !important;
    transform: translateY(-2px);
}
