*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    /* font-family:"poppins",sans-serif; */
}
body{
    background-color: #014a2c;
    background:linear-gradient(to right,#014a2c,#014a2c);
}
.container{
    background:#fff;
    width:450px;
    padding:1.5rem;
    margin:50px auto;
    border-radius:10px;
    box-shadow:0 20px 35px rgba(0,0,1,0.9);
}
form{
    margin:0 2rem;
}
.form-title{
    font-size:1.5rem;
    font-weight:bold;
    text-align:center;
    padding:1.3rem;
    margin-bottom:0.4rem;
}
input{
    color:inherit;
    width:100%;
    background-color:transparent;
    border:none;
    border-bottom:1px solid #757575;
    padding-left:1.5rem;
    font-size:15px;
}
.input-group{
    padding:1% 0;
    position:relative;

}
.input-group i{
    position:absolute;
    color:black;
}
input:focus{
    background-color: transparent;
    outline:transparent;
    border-bottom:2px solid #f47321;
}
input::placeholder{
    color:transparent;
}
label{
    color:#757575;
    position:relative;
    left:1.2em;
    top:-2em;
    cursor:auto;
    transition:0.3s ease all;
}
input:focus~label,input:not(:placeholder-shown)~label{
    top:-3em;
    color:#f47321;
    font-size:15px;
}
.recover{
    text-align:right;
    font-size:1rem;
    margin-bottom:1rem;

}
.recover a{
    text-decoration:none;
    color:#f47321;
}
.recover a:hover{
    color:#f47321;
    text-decoration:underline;
}

.request-account{
    text-align:right;
    font-size:1rem;
    margin-bottom:1rem;

}
.request-account a{
    text-decoration:none;
    color:#f47321;
}
.request-account a:hover{
    color:#f47321;
    text-decoration:underline;
}

button{
    font-size:1.1rem;
    padding:8px 0;
    border-radius:5px;
    outline:none;
    border:none;
    width:100%;
    background:#f47321;
    color:white;
    cursor:pointer;
    transition: all 0.3s ease;
}
button:hover{
    background:#07001f;
}
.or{
    font-size:1.1rem;
    margin-top:0.5rem;
    text-align:center;
}
.icons{
    text-align:center;
}
.icons i{
    color:rgb(125,125,235);
    padding:0.8rem 1.5rem;
    border-radius:10px;
    font-size:1.5rem;
    cursor:pointer;
    border:2px solid #dfe9f5;
    margin:0 15px;
    transition:1s;
}
.icons i:hover{
    background:#07001f;
    font-size:1.6rem;
    border:2px solid rgb(125,125,235);
}
.links {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    margin-top: 0.9rem;
}

.links p {
    margin: 0;
}

#signUpButton, #signInButton{
    color:rgb(125,125,235);
    border:none;
    background-color:transparent;
    font-size:1rem;
    font-weight:bold;
}
#signUpButton:hover, #signInButton:hover {
    text-decoration:underline;
    color:blue;
} 
.messageDiv{
    /* background-color:; */
    color:red;
    padding:10px 20px;
    margin:10px;
    border-radius: 5px;
    font-size:1rem;
    opacity:0;
    /* animation:fadeOut 7s forwards; */

}

.button-container {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
}

.button-back {
    background-color: #f47321 !important;
    min-width: 130px;
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 10px;
}

.button-back:hover{
    background-color: black !important;
    color: white !important;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-content h2 {
    text-align: center;
    color: #014a2c;
    margin-bottom: 20px;
}

.modal-content .input-group {
    margin-bottom: 20px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Success message style */
.messageDiv.success {
    color: #28a745;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

/* Error message style */
.messageDiv.error {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.input-group textarea {
    width: 100%;
    margin-left: 15px;
}

/* Make the description label transparent on focus */
#description:focus ~ label {
    color: transparent;
}

/* Remove the previous .introduction:focus rule that wasn't working */
.introduction:focus {
    /* remove this rule */
}

.modal-instructions {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.4;
}