/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

h2, h3 {
    color: #006d5b; /* Green teal */
    text-align: center;
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    color: #006d5b; /* Green teal */
}

input[type="text"], input[type="password"], input[type="number"], select {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Button Styles */
button {
    background-color: #ffcc00; /* Yellow */
    color: #000; /* Black */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.2s;
}

button:hover {
    background-color: #e6b800; /* Slightly darker yellow on hover */
}

/* Page Card (main content area) */
.page-card {
    background: #fff;
    max-width: 1300px;           /* Wider than forms */
    margin: 30px auto 22px auto; /* Leaves space left/right on big screens */
    padding: 36px 48px;
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(1,83,82,0.10), 0 1.5px 8px rgba(1,83,82,0.08);
    min-height: 60vh;
    transition: box-shadow 0.2s;
   /* border: 2px dashed #ffcc00;*/  /* DEBUG: helps you see the card; remove later */
}

/* Make forms look like smaller cards inside the big card (optional) */
.page-card form {
    background-color: #f9f9f9;
    max-width: 600px;
    margin: 24px auto 32px auto;
    padding: 24px;
    /*border: 2px dashed #ffcc00;*/
    border-radius: 10px;
    /*box-shadow: 0px px 32px rgba(0, 109, 91, 0.08);*/
    box-shadow: 0 6px 32px rgba(1,83,82,0.10), 0 1.5px 8px rgba(1,83,82,0.08);
}

/* Responsive padding adjustments */
@media (max-width: 1200px) {
    .page-card {
        max-width: 98vw;
        padding: 22px 6vw;
    }
}
@media (max-width: 800px) {
    .page-card {
        padding: 16px 3vw;
        border-radius: 10px;
    }
}
@media (max-width: 480px) {
    .page-card {
        padding: 12px 2vw;
        margin: 12px 0;
    }
}

/* Form Container */
form {
    background-color: #f9f9f9;
    max-width: 600px;
    margin: 24px auto 32px auto;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0px 2px 12px rgba(0, 109, 91, 0.08);
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #006d5b;
    color: white;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

/* Navbar Styles */
.navbar {
    background-color: #006d5b;
    padding: 12px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.navbar a {
    color: white;
    min-width: 180px;
    max-width: 220px;
    height: 44px;
    line-height: 44px;
    padding: 0 16px;
    margin: 6px 8px;
    background-color: #004d40;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    box-sizing: border-box;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar a:hover,
.navbar a.active {
    background-color: #ffcc00;
    color: black;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255,204,0,0.08);
}

/* Responsive Navbar (Hamburger Menu) for Mobile Screens */
.burger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
    }

    .navbar a {
        display: none;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 44px;
        line-height: 44px;
        margin: 4px 0;
        border-radius: 0;
        font-size: 15px;
        white-space: nowrap;
        text-align: left;
        justify-content: flex-start;
        padding-left: 18px;
    }

    .navbar a.active {
        display: flex;
    }

    .burger {
        display: block;
    }
}
