* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;

}

body {
    font-family: "Nunito", "Montserrat", sans-serif;
    background-color: whitesmoke;
}

/*---form design--*/

.form-container {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-bottom: 60px;
}

.form-container form {
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    background: white;
    text-align: center;
    width: 500px;
}

.login-form {
    padding: 60px;

}

.reg-form {
    padding: 30px;
}


.form-container form h4,
h5 {
    font-size: 20px;
    color: #653700;

}

.form-container form input,
.form-container form select {
    font-size: 17px;
    width: 100%;
    padding: 10px 15px;
    margin: 20px 0;
    background: none;
    border-radius: 5px;
    border-bottom: #c5b358;
    border-style: solid;
    border-top: none;
    border-left: none;
    border-right: none;

}

.form-container form select option {
    background: white;
}

.form-container form .form-btn {
    font-size: 20px;
    background: #c5b358;
    color: #653700;
    text-transform: capitalize;
    font-weight: bolder;
    cursor: pointer;
    border: none;

}

.form-container form .form-btn:hover {

    background: #653700;
    color: #c5b358;


}

.form-container form .error-msg {
    margin: 10px 0;
    display: block;
    background: crimson;
    color: white;
    border-radius: 5px;
    font-size: 20px;
    padding: 10px;
}

.form-title {
    font-weight: bolder;
}

.system-name {
    margin-bottom: 20px;
    text-decoration: underline;
    color: #653700;

}

.form-container form a {
    color: #653700;
    font-size: large;
    background-color: #cfb53b;
    padding: 8px;
    border-radius: 5px;

}

.form-container form a:hover {
    background: #653700;
    color: #cfb53b;
}

.form-container form p {
    color: #653700;
    font-size: large;


}

/* ----- Header ------ */
.header {
    background-color: #c5b358;
    grid-area: header;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px 0 30px;
    box-shadow: 0 6px 7px -3px rgb(0, 0, 0, 0.35);
    color: #653700;


}

.header-record {
    background-color: #c5b358;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    box-shadow: 0 6px 7px -3px rgb(0, 0, 0, 0.35);
    color: #653700;
    margin-bottom: 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.header-right {
    font-size: 25px;
    font-weight: bold;
}

a {
    text-decoration: none;
    color: #653700;
    font-weight: 500;
}

.material-icons-outlined {
    vertical-align: middle;
    line-height: 1px;
    font-size: 35px;
    text-decoration: none;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Spinner animation */
.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/* Spinner animation keyframes */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}