/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2f4f5;
    margin: 0;
    padding: 0;
    color: #333;
}

h1, h2 {
    color: #2c3e50;
}

header {
    background-color: #ffffff; /* Changed to white */
    color: #2c3e50; /* Dark text color */
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

main {
    padding: 30px;
    min-height: 400px;
    background-color: #ecf0f1;
}

footer {
    background-color: #ffffff; /* Changed to white */
    color: #2c3e50;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    position: relative;
    bottom: 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
form {
    max-width: 400px;
    margin: 30px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

form label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    color: #2c3e50;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

input[type="submit"] {
    background-color: #3498db; /* Changed to blue */
    color: white;
    padding: 10px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #2980b9;
}

/* Modern Table Styling */
table {
    width: 90%;
    margin: 30px auto;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #3498db;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tr:hover {
    background-color: #f9f9f9;
}

td a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

td a:hover {
    text-decoration: underline;
}

/* Dashboard Widgets */
.dashboard-widgets {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px auto;
}

.widget {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    width: 250px;
    text-align: center;
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.widget h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.widget p {
    font-size: 24px;
    color: #27ae60;
    margin: 0;
}

/* Navigation Menu Styling */
.horizontal-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    background-color: #ffffff; /* Changed to white */
    border-bottom: 1px solid #ddd;
}

.horizontal-menu li {
    position: relative;
}

.horizontal-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: #2c3e50; /* Dark text color */
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.horizontal-menu > li > a:hover {
    background-color: #f2f4f5;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff; /* Changed to white */
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
    z-index: 1;
}

.dropdown-content li {
    display: block;
}

.dropdown-content li a {
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    color: #2c3e50; /* Dark text color */
    transition: background-color 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li a:hover {
    background-color: #f2f4f5;
}

/* Mobile-Specific Styling */
.hamburger {
    display: none;
    font-size: 26px;
    background-color: transparent;
    border: none;
    color: #2c3e50;
    cursor: pointer;
    position: absolute;
    top: 18px;
    right: 20px;
}

.horizontal-menu {
    flex-direction: row;
}

@media screen and (max-width: 768px) {
    .horizontal-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #ffffff;
        border-bottom: none;
    }

    .horizontal-menu.visible {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .horizontal-menu li {
        padding: 0;
        text-align: left;
    }

    .horizontal-menu > li > a {
        padding: 15px 20px;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    .dropdown-content {
        position: relative;
        background-color: #f9f9f9;
        border: none;
        box-shadow: none;
    }

    .dropdown-content li a {
        padding-left: 40px; /* Indent dropdown items */
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }
}

/* Notification Styling */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #27ae60;
    color: white;
    padding: 15px;
    border-radius: 8px;
    z-index: 10000;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease;
}

.notification.error {
    background-color: #e74c3c;
}

.notification.fade-out {
    opacity: 0;
}

/* Footer Styling */
.small-footer {
    text-align: center;
    padding: 15px 0;
    background-color: #ffffff; /* Changed to white */
    color: #2c3e50;
    font-size: 14px;
    border-top: 1px solid #ddd;
}

.small-footer p {
    margin: 0;
}

.small-footer a {
    color: #3498db;
    text-decoration: none;
}

.small-footer a:hover {
    text-decoration: underline;
}
/* styles.css */
.prominent-delete-link {
    color: white;
    background-color: #e74c3c; /* Prominent red color */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.prominent-delete-link:hover {
    background-color: #c0392b; /* Darker shade for hover effect */
    transform: scale(1.05); /* Slightly enlarge on hover */
}