/* General body styles */
body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #dddddd 0%, #fdb4b4 100%); /* Vibrant background gradient */
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevents scrolling */
}

header {
    width: 100%;
    background: #ff000042; /* Light red background */
    padding: 10px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: #333;
    color: #fff;
}

/* Container for the login form */
.login-container {
    background: rgba(255, 255, 255, 0.2); /* Translucent white background */
    padding: 40px;
    border-radius: 10px;
    width: 350px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px); /* Frosted glass effect */
    color: white;
}

.login-container .logo img {
    display: block;
    margin: 0 auto 20px;
    width: 80px; /* Adjust size as necessary */
}

.login-container h1 {
    margin: 0;
    padding: 10px;
    font-size: 24px;
    color: #FFFFFF;
}

.login-container p {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.login-container .form-group {
    margin-bottom: 20px;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: transparent;
    color: white;
    font-size: 16px;
}

.login-container button {
    width: 100%;
    padding: 12px;
    background-color: #fa4343; /* Custom button color */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-container button:hover {
    background-color: #f78888; /* Darker shade for hover */
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

header {
    width: 100%;
    background: #fac5c5;
    color: white;
    padding: 10px 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: rgb(77, 76, 76);
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

.form-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 20px;
    width: 100%;
    max-width: 960px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.form-section {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.form-section h2 {
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"], input[type="email"], input[type="date"], input[type="file"], select, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

button.cancel {
    background-color: #ccc;
    color: #333;
}

button.continue {
    background-color: #007BFF;
    color: white;
}

button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .form-container {
        padding: 10px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    button {
        width: 100%;
        margin-top: 10px;
    }
}

.table-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #007bff;
    color: white;
}

td img {
    max-width: 50px;
    height: auto;
}

.btn {
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }

    nav ul li {
        margin: 10px 0;
    }
}

.print-button {
    margin: 20px;
    text-align: center;
}

.a4-container {
    width: 210mm;
    margin: 0 auto;
    padding: 20mm;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.section {
    margin-bottom: 20px;
}

.btn-light-red {
    background: #f08080;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    margin-left: 10px;
    transition: background 0.3s;
}

.btn-light-red:hover {
    background: #e57373;
}
