 /* General Reset */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        /* Adding custom fonts */
        @import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

        body {
            font-family: 'Roboto', sans-serif;
            background-color: #121212; /* Dark background */
            color: #ffffff;
            line-height: 1.6;
        }

        /* Header and Logo */
        header {
            display: flex;
            align-items: center;
            background: url('images/longheader.jpg') no-repeat center center;
            background-size: cover;
            padding: 20px;
            justify-content: flex-start;
        }

        /* Navigation Menu */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #222;
            padding: 10px 20px;
        }

        nav ul {
            list-style-type: none;
            display: flex; /* Aligns the list items in a row */
            margin: 0;
            padding: 0;
        }

        nav ul li {
            margin-right: 20px; /* Space between menu items */
        }

        nav ul li:last-child {
            margin-right: 0;
        }

        nav a {
            color: #ccc;
            text-decoration: none;
            font-weight: 500;
        }

        /* Login Form Styles */
        .login-form {
            display: flex;
            align-items: center;
        }

        .login-form input[type="text"],
        .login-form input[type="password"] {
            padding: 5px;
            margin-right: 10px;
            border: 1px solid #333;
            border-radius: 15px;
            background: #333;
            color: #fff;
        }
        .login-form input[type="submit"] {
            padding: 5px 15px;
            margin-left: 10px; /* Ensure some space between password field and button */
            border: none;
            border-radius: 8px;
            background-color: #e74c3c; /* Red background */
            color: #fff;
            cursor: pointer;
        }
        .login-form input[type="submit"]:hover {
    background-color: #c0392b; /* Darker red on hover */
        }
        /* Main Content Area */
        main {
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #1e1e1e;
            border-radius: 8px;
        }

        /* Welcome Section */
        .welcome {
            text-align: center;
            margin-bottom: 30px;
        }

        /* Registration Form */
        .registration {
            background: #252525;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .registration h2 {
            color: #e74c3c; /* Accent color */
            margin-bottom: 10px;
        }

        /* Form field styles */
        .registration form {
            display: grid;
            grid-gap: 10px;
        }

        .registration input[type="text"],
        .registration input[type="password"],
        .registration input[type="email"] {
            padding: 10px;
            border: 1px solid #333;
            border-radius: 8px;
            background: #333;
            color: #fff;
        }

        /* Button Styles */
        .registration input[type="submit"] {
            padding: 10px;
            border: none;
            border-radius: 8px;
            background-color: #e74c3c;
            color: #fff;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .registration input[type="submit"]:hover {
            background-color: #c0392b;
        }
        
        /* Styles for buttons */
        .btn {
            display: inline-block;
            padding: 8px 12px;
            margin-right: 5px; /* Spacing between buttons */
            text-decoration: none;
            font-size: 14px;
            color: white;
            border: none;
            border-radius: 4px;
            transition: background-color 0.3s;
            text-align: center;
            background-color: #e74c3c; /* Red background for all buttons */
            cursor: pointer;
        }

        .btn-edit:hover, .btn-view:hover, .btn-delete:hover {
            background-color: #c0392b; /* Slightly darker red on hover */
        }


        /* Footer */
        footer {
            background-color: #222;
            color: #ccc;
            text-align: center;
            padding: 20px 0;
        }
        
    /* Table styles for better row visibility */
    table {
        width: 100%;
        border-collapse: collapse; /* Collapses borders */
        margin: 20px 0; /* Adds space around the table */
    }

    th, td {
        border: 1px solid #ddd; /* Adds border to table cells */
        padding: 8px; /* Adds space around text in each cell */
        text-align: left;
    }

    /* Alternating row background colors */
    tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    tr:nth-child(odd) {
        background-color: #e9e9e9;
    }

    /* Hover style for table rows */
    tr:hover {
        background-color: #ddd; /* Change color on hover */
    }

    /* Making the header stand out */
    th {
        background-color: #666; /* Dark background for header */
        color: white;
    }

    /* Change text color for table data to dark grey */
    td {
        color: #333; /* Dark grey text */
    }
    /* Side Drawer */
.side-drawer {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #222;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 1000;
    max-height: 100vh;  /* Ensures scrolling works */
    overflow-y: auto;   /* Enables vertical scrolling */
}

.side-drawer.active {
    left: 0;
}

.side-drawer a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 20px;
}

.side-drawer a:hover {
    color: #e74c3c; /* Matches your theme’s red accent */
}

/* Optional: Scrollbar styling */
.side-drawer::-webkit-scrollbar {
    width: 8px;
}

.side-drawer::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.side-drawer::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.overlay.active {
    display: block;
}