/* Add your CSS styles here, based on the provided form */

/* Placeholder text color for input fields */
form#sfs-contact-form input::placeholder {
    color: #424242; /* Change this color to your preference */
    opacity: 1;  /* Ensure placeholder text is fully opaque */
}

/* Placeholder text color for textarea */
form#sfs-contact-form textarea::placeholder {
    color: #424242; /* Change this color to your preference */
    opacity: 1;  /* Ensure placeholder text is fully opaque */
}

/* Hide the default checkbox */
form#sfs-contact-form .gdprcheck {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 15px;
    height: 15px;
    margin-left: 18px;
    margin-top: 6px;
}

/* Custom checkbox appearance */
form#sfs-contact-form .gdprcheck + .gdprtext::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    margin-left: 15px;
    vertical-align: middle;
    border: 2px solid #242424; /* Border color */
    border-radius: 5px;
    background-color: transparent; /* Background color when unchecked */
    transition: background-color 0.2s, border-color 0.2s;
}

/* Checkbox checked state */
form#sfs-contact-form .gdprcheck:checked + .gdprtext::before {
    background-color: #242424; /* Background color when checked */
    border-color: #242424; /* Border color when checked */
}

/* Add a checkmark to the checkbox */
form#sfs-contact-form .gdprcheck:checked + .gdprtext::after {
    content: '\2714'; /* Checkmark character */
    font-size: 14px; /* Adjust size as needed */
    color: #edf000; /* Color of the checkmark */
    position: absolute;
    left: 142px;
    bottom: 11px;
}

form#sfs-contact-form {
    max-width: 77%;
    margin: 0 auto;
}

form#sfs-contact-form label {
    display: none;
}

form#sfs-contact-form .myhalftextfield,
form#sfs-contact-form .mytextfield,
form#sfs-contact-form textarea {
    /* Common styles for input and textarea */
    width: 100%;
    padding: 15px;
    margin: 0px 15px 20px 15px;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #242424;
    background-color: transparent;
    border: none !important;
    box-shadow: inset 0px -1px 0px 0px rgba(0, 0, 0, 0.18);
}

form#sfs-contact-form .myhalftextfield {
    margin: 0px 0px 20px 15px;
}

form#sfs-contact-form textarea {
    height: 150px;
}

form#sfs-contact-form .gdprtext {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 13px;
    color: #242424;
}

form#sfs-contact-form button {
    padding: 10px 20px;
    background-color: transparent;
    cursor: pointer;
    color: #ffffff !important;
    border: 3px solid !important;
    border-color: #ffffff;
    border-radius: 10px;
    font-size: 20px;
    letter-spacing: 2px;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.25s;
    display: inline-flex;
    position: relative;
    align-items: center;
    overflow: hidden;
    white-space: nowrap; /* Prevent text wrapping */
}

form#sfs-contact-form button::after {
    content: "\f1d8"; /* Font Awesome paper plane icon */
    font-family: "FontAwesome";
    font-size: 20px; /* Ensure icon size matches your design */
    position: absolute;
    right: 10px; /* Adjust positioning as needed */
    opacity: 0;
    visibility: hidden; /* Hide icon initially */
    transition: opacity 0.25s, visibility 0.25s;
}

form#sfs-contact-form button:hover {
    border-color: rgba(255, 255, 255, 0) !important;
    background-color: rgba(10, 10, 10, 0.1);
    padding-right: 40px; /* Adjust this value to fit the icon */
}

form#sfs-contact-form button:hover::after {
    opacity: 1;
    visibility: visible;
}

#sfs-response {
    position: relative;
    text-align: center;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5em;
    color: #424242;
    padding: 20px;
}
