body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('../image/tombs_trio.jpg') no-repeat center center fixed; /* Correct path to the image */
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.form-container {
    max-width: 400px;
    width: 100%;
    padding: 30px;
    background-color: rgba(128, 128, 128, 0.5); /* Grey with 50% transparency */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensures padding is included in total width */
}

.form-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff; /* White color for text */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #fff; /* White color for text */
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Ensures padding is included in total width */
}

.btn, .btn-link {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    text-align: center;
    text-decoration: none; /* Remove underline from link */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 16px;
}

.btn:hover, .btn-link:hover {
    background-color: #0056b3;
}

.error {
    color: red;
    margin-bottom: 10px;
    text-align: center;
}

/* Styling for the checkbox container */
.checkbox-container {
    display: flex;
    justify-content: left; /* Align checkbox and label to the left */
    align-items: center;
    gap: 8px; /* Space between checkbox and text */
    color: #fff; /* White text color */
    margin-bottom: 15px;
}

/* Custom checkbox styling */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
}

/* Hide the default checkbox */
.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

/* Custom checkbox design */
.custom-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 5px;
    display: inline-block;
    position: relative;
    background-color: transparent;
    transition: all 0.3s ease;
}

/* Checkmark tick when checkbox is checked */
.custom-checkbox input:checked + .checkmark {
    background-color: #007BFF; /* Blue background when checked */
    border-color: #007BFF;
}

.custom-checkbox input:checked + .checkmark:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Adjust label text spacing */
.custom-checkbox span {
    margin-left: 30px;
}
