*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #f4f4f9;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HEADER */
.form-header{
    background-color: #eafaf1;
    padding: 3rem 2rem 1rem;
    text-align: center;
    margin-bottom: 5rem;
}

.logo img{
    height: 60px;
    margin-bottom: 1rem;
}

.form-header p{
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* FORM SECTION */
.form-container{
    width: 500px;
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 0 auto 3rem;
}

.form-container h2{
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #2d3748;
    font-weight: 600;
}

#myForm{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

input{
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    background: #fafafa;
    color: #2d3748;
    transition: border-color 0.3s ease;
}

input:focus{
    outline: none;
    border-color: #00c896;
    background: white;
    box-shadow: 0 0 3px rgba(0, 200, 150, 0.1);
}

input::placeholder{
   color: #a0aec0;
}

button{
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00c896 0%, #00b386 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

button:hover{
    background: linear-gradient(135deg, #00b386 0%, #009876 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 150, 120, 0.3);
}

button:active{
    transform: translateY(0);
}

.alert{
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
    min-height: 1.25rem;
    font-weight: 500;
}

.success-message{
    background: #f0fff4;
    border: 2px solid #96e6b4;
    color: #2f855a;
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
    display: none;
}

/* FOOTER SECTION */
footer{
    background-color: #000;
    color: #555;
    line-height: 1.5;
    width: 100%;
    margin-top: auto;
    padding: 1rem;
}

footer a{
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

footer a:hover{
    text-decoration: underline;
    color: white;
}

.ft-legal-list{
    list-style: none;
}

.ft-legal-content{
    text-align: center;

    font-size: 0.95rem;
}

@media (max-width: 640px) {

    .form-header{
        padding: 2rem 1rem 1rem;
    }

    .form-container{
        width: 90%;
        padding: 2rem;
    }
}
