
/* Combined and optimized CSS */

/* General body styling */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
}

/* Sidebar container */
.sidebar-container {
    position: relative;
}

/* Hamburger button */
.toggle-sidebar {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    display: none; /* Default hidden on desktop */
}

/* Show the button on smaller screens */
@media (max-width: 768px) {
    .toggle-sidebar {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -250px; /* Initially hidden */
        width: 250px;
        height: 100%;
        transition: left 0.3s ease-in-out;
        z-index: 999;
    }

    .sidebar.open {
        left: 0; /* Slide in when open */
    }

    .content {
        margin-left: 0; /* No fixed sidebar in mobile */
    }
}

/* Sidebar styling */
.sidebar {
    background-color: #2E86C1;
    color: white;
    width: 220px;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar h2 {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar a {
    color: white;
    text-decoration: none;
    padding: 10px;
    margin: 5px 0;
    display: block;
    border-radius: 5px;
    background-color: #3498DB;
    text-align: center;
    transition: background-color 0.3s;
}

.sidebar a:hover {
    background-color: #1B4F72;
}

/* Main content styling */
.content {
    flex: 5;
    padding: 20px;
}

.header {
    background-color: #2980B9;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Card styling */
.card {
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

.card h3 {
    color: #2980B9;
    margin-top: 0;
}

/* Button styling */
.btn {
    background-color: #3498DB;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    background-color: #1B4F72;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #3498DB;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* For responsive styling */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
    }
    .content {
        padding: 10px;
    }
}

/* Additional styles */

/* Form container wrapper */
.wrapper {
    max-width: 900px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    border-radius: 10px;
    padding: 40px;
}

/* Input fields layout */
.input-box {
    width: 100%;
    background: transparent;
    position: relative;
}

.input-box input,
.input-box select {
    width: 100%;
    height: 50px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 40px;
    font-size: 16px;
    color: #fff;
    padding: 15px 20px;
    padding-right: 50px;
    outline: none;
    appearance: none;
}

/* Background image for mobile responsiveness */
body {
    background-image: url('website-background-21.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('website-background-21.jpg') no-repeat center center/cover;
    padding: 20px;
}

/* Wrapper Container */
.wrapper {
    max-width: 400px;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    color: white;
    text-align: center;
}

/* Input Fields */
.wrapper input {
    width: 100%;
    height: 40px;
    background: transparent;
    border: 2px solid white;
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 10px;
    color: white;
    font-size: 14px;
}

.wrapper input::placeholder {
    color: #ddd;
}

/* Buttons */
.wrapper button {
    width: 100%;
    height: 40px;
    background: white;
    color: black;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.wrapper button:hover {
    background: #f4f4f4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Links */
.wrapper a {
    color: #00f;
    text-decoration: none;
    font-size: 14px;
}

.wrapper a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .wrapper {
        padding: 20px;
    }
}
