/* Registration form styles */

.registration-container {
    width: 100%;
    max-width:600px;
    margin: 25px auto;
    padding: 20px;
    /* Light background color to match theme */
    background-color: #c4dac9;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* main heading */
.registration-container h1 {
    color: #0f515c;
    font-size: 24px;
}

/* Form labels and inputs */
.registration-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #004733;
}

.registration-container label.padleft {
    padding-left: 30px;
}

.registration-container input[type="text"],
.registration-container input[type="email"],
.registration-container input[type="password"],
.registration-container select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

/* flexbox structure for radio buttons and checkboxes */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.registration-container input[type="checkbox"],
.registration-container input[type="radio"] {
    margin-right: 10px;
}

/* Align the buttons at the bottom */
.button-group {
    display: flex;
    justify-content: space-between;
}

.btn {
    width: 48%;
    padding: 10px;
    margin: 10px 1%;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-register {
    background-color: #007bff;
    color: white;
}

.btn-register:hover {
    background-color: #0056b3;
}

btn.cancel {
    background-color: #dc3545;  /* red background for cancel */
    color: white;
}

btn.cancel:hover {
    background-color: #c82333;
}

/* align the buttons side by side for desktop */
.button-group {
    display: flex;
    justify-content: space-between;
    gap: 20px;  /* space between the buttons */
}

/* responsive layout adjustments */
@media (max-width: 768px) {
    .registration-container {
        width: 90%;
    }

    .btn {
        width: 100%;    /* full width for mobile */
    }

    flex-direction: column;
}































