.wp-forms-apollo-screen .form-title {
    text-align: center;
    color:var(--e-global-color-primary);
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 500;
    width: 60%;
}

.wp-forms-apollo-screen{
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wp-forms-apollo-frontend-form {
    width: 60%;
    margin: 20px auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background-color: #fff;
    font-family: 'Roboto', sans-serif; 

}

.wp-forms-apollo-frontend-form .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.wp-forms-apollo-frontend-form label {
    margin-bottom: 10px;
    align-self: flex-start;
    width: auto;
    min-width: 50%;
    font-size: 16px;
    color: white;
    background-color: var(--e-global-color-primary);
    border-radius: 10px;
    padding-block: 10px;
    max-width: 50%;
    padding-inline: 12px;
}

.wp-forms-apollo-frontend-form input[type="text"],
.wp-forms-apollo-frontend-form input[type="email"],
.wp-forms-apollo-frontend-form input[type="number"],
.wp-forms-apollo-frontend-form input[type="tel"],
.wp-forms-apollo-frontend-form textarea,
.wp-forms-apollo-frontend-form select {
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px !important;
    border: 1px solid #ccc;
    box-sizing: border-box;
    align-self: flex-end;
    width: fit-content;
    max-width: 60%;
}

.wp-forms-apollo-frontend-form input[type="text"]:focus,
.wp-forms-apollo-frontend-form input[type="email"]:focus,
.wp-forms-apollo-frontend-form input[type="number"]:focus,
.wp-forms-apollo-frontend-form input[type="tel"]:focus,
.wp-forms-apollo-frontend-form textarea:focus,
.wp-forms-apollo-frontend-form select:focus {
    border-color: #3b82f6; 
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.wp-forms-apollo-frontend-form textarea {
    resize: vertical;
    min-height: 100px;
}

.wp-forms-apollo-frontend-form .radio-option,
.wp-forms-apollo-frontend-form .checkbox-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.wp-forms-apollo-frontend-form .radio-option input[type="radio"],
.wp-forms-apollo-frontend-form .checkbox-option input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    transform: scale(1.1); 
}

.wp-forms-apollo-frontend-form .radio-option label,
.wp-forms-apollo-frontend-form .checkbox-option label {
    margin-bottom: 0;
    cursor: pointer;
}

.wp-forms-apollo-frontend-form .submit-button {
    display: block;
    align-self: flex-end;
    background-color: var(--e-global-color-primary); 
    border-radius: 10px;
}

.wp-forms-apollo-frontend-form .submit-button:hover {
    background-color: #2563eb; 
}

.wp-forms-apollo-frontend-form .required {
    color: red;
    font-weight: bold;
}

.apollo-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.apollo-form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.apollo-form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

