/* IMPORTED CSS */
@import url("ToInclude/body.css");
@import url("ToInclude/rightside.css");
@import url("ToInclude/navbar.css");
@import url("ToInclude/errorDiv.css");

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-container {
    background-color: white;
    padding: 32px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 15px 15px 0 #01a457, 10px 10px 20px rgba(0, 0, 0, 0.2);
    margin: auto;
}

.form-container div {
    margin-top: 12.8px;
    margin-right: 16px;
    align-items: center;
    align-content: center;
}

.form-container label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 18px;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="number"],
.form-container input[type="password"] {
    width: 99%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 16px;
}

.form-container input[type="submit"] {
    width: 70%;
    padding: 10px;
    background-color: #005f47;
    color: white;
    border: none;
    margin-top: 15px;
    margin-left: 40px;
    cursor: pointer;
    transition: background-color 0.7s;
    font-size: 19.2px;
    font-weight: 500;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.form-container input[type="submit"]:hover {
    background-color: #007960;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Common class for messages */
.message-container {
    background-color: white;
    padding: 32px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
    margin: auto;
    text-align: center;
}

/* Specifications for the error page */
.error-container {
    box-shadow: 15px 15px 0 #ff0000, 10px 10px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
}

/* Specifications for the success page */
.success-container {
    box-shadow: 15px 15px 0 #01a457, 10px 10px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
}

.error-title {
    color: red;
    font-size: 72px;
    margin-bottom: 20px;
}

.error-message {
    color: red;
    font-size: 35.2px;
}

.success-title {
    color: #01a457;
    font-size: 72px;
    margin-bottom: 20px;
}

.success-message {
    color: #01a457;
    font-size: 35.2px;
}
