body {
    font-family: "Segoe UI", sans-serif;
    /* background-color: #f5f5f5; */
    background-color: #38352a;;  /* Dark brown background color */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #f4f4f4;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    font-size: 1rem;
    box-sizing: border-box;
}

#childGroup {
    width: 20%;
    float: right;
}

#checkLabel {
    display: inline-block;
}

button {
    width: 100%;
    padding: 0.75rem;
    font-size: 18px;        /* Sets font size */
    font-weight: bold;      /* Makes the font bold */
    background-color: #1d1b11;;  /* Dark brown background color */
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;  /* Adds smooth hover effects */
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);      /* Slightly enlarges the button */
}

.error {
    color: #dc143c;
    display: none;
    background-color: #f8d7da;
    border: 1px solid #dc143c;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: bold;
    /* margin-left: 25%; */
    margin-bottom: 15px;
}
.success {
    color:green;
    display: none;
    background-color:#d4edda ;
    border: 1px solid #1dab51;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: bold;
    /* margin-left: 25%; */
    margin-bottom: 15px;

}
.switch-form {
    text-align: center;
    margin-top: 1rem;
}


.switch-form a {
    color: #007bff;
    text-decoration: none;
}
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
