@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

.form-container {
    margin-top: 10px;
    width: 100%;
    max-width: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.global-error {
    color: #e74c3c;
    background-color: #fadbd8;
    padding: 12px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
    border: 1px solid #f5c6cb;
    width: 100%;
    max-width: 500px;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin: -5px 0 10px 0;
    display: block;
}

.error-message i {
    margin-right: 5px;
}

form {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.title-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    width: 100%;
    align-items: center;
    text-align: center;
}

.title-container h2 {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.8rem;
    color: #000;
    font-weight: bold;
    margin-bottom: 0;
}

.title-container i {
    font-size: 25px;
    color: #f1c40f;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #000;
    font-weight: 500;
    font-size: 1rem;
}

label i {
    margin-right: 8px;
    color: #151335;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: border-color 0.3s ease;
}

input:focus {
    border-color: #f1c40f;
    outline: none;
}

input.error {
    border-color: #e74c3c;
    background-color: #fadbd8;
}

.g-recaptcha {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

form button {
    margin-top: 10px;
    width: 100%;
    padding: 12px 15px;
    background-color: #151335;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 400;
}

form button:hover {
    background-color: #1e1a4a;
}

form button:active {
    background-color: #f1c40f;
}

form button i {
    margin-right: 8px;
}

.form-links {
    padding-top: 15px;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
}

.form-links a {
    color: #f1c40f;
    font-weight: 500;
}

.form-links a:hover {
    color: #f1c40f;
    text-decoration: underline;
}

@media (max-width: 480px) {
    body {
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        min-height: 80vh;
        padding: 20px;
    }
    
    .form-container {
        margin-top: 10px;
        width: 100%;
        max-width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .global-error {
        padding: 12px 15px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 100%;
    }
    
    form {
        padding: 25px 20px;
        border-radius: 10px;
        width: 100%;
        box-shadow: 0px 0px;
    }
    
    .title-container h2 {
        font-size: 1.5rem;
    }
    
    label {
        font-size: 0.9rem;
    }
    
    input {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    form button {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .form-links {
        font-size: 0.85rem;
    }
}

@media (min-width: 481px) and (max-width: 900px) {
    body {
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        min-height: 100vh;
        padding: 20px;
    }
    
    .form-container {
        margin-top: 20px;
        width: 100%;
        max-width: 500px;
        height: auto;
    }
    
    form {
        padding: 30px 35px;
    }
    
    .title-container h2 {
        font-size: 1.6rem;
    }
}
