@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    input, select, textarea, button {
        font-size: 16px;
        padding: 10px;
    }

    h2 {
        font-size: 20px;
    }
}
/* === General Layout === */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fa;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

header {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #777;
    font-size: 14px;
    background-color: #f4f7fa;
    border-top: 1px solid #ddd;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 40px;
    max-width: 800px;
    margin: 0 auto;
}
h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}
label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}
input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
}
button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background: #0056b3;
}
.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    text-align: center;
    font-size: 12px;
}
        
/* === Navigation Menu === */
nav {
    background: #fff;
    padding: 10px 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    font-size: 16px;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* === Forms & Inputs === */
form {
    max-width: 500px;
    margin: auto;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0 16px;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

input[type="submit"],
button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover,
button:hover {
    background-color: #0056b3;
}

/* === System Messages === */
.message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}

/* === Link Styling (global) === */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
}

.text-center {
    text-align: center;
}

.admin-menu {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.admin-menu li {
    margin-bottom: 10px;
}

.admin-menu a {
    display: block;
    padding: 12px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.admin-menu a:hover {
    background: #0056b3;
}
.btn-primary {
    background-color: #007bff;
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #0056b3;
}
.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* smaller gap */
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    transform: translateY(1px); /* slight adjust down */
    margin: 0; /* remove any default margin */
}
/* === Welcome Page === */
.welcome-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
}

.top-buttons {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
}

.welcome-content {
    margin-top: 60px;
}

.app-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.app-title {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 10px;
}

.app-subtitle {
    font-size: 18px;
    color: #555;
}

/* Smaller buttons for top right */
.btn-primary.small {
    padding: 6px 12px;
    font-size: 14px;
}
/* === Welcome Page Styling === */
.welcome-page {
    padding: 40px 20px;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.top-buttons {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}

.welcome-content {
    margin-top: 60px;
}

.app-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.app-title {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 10px;
}

.app-subtitle {
    font-size: 18px;
    color: #555;
}

/* Small top buttons */
.btn-primary.small {
    padding: 6px 12px;
    font-size: 14px;
}
