/* Success / error messages */
.fpf-success {
    color: green;
    font-weight: bold;
}
.fpf-error {
    color: red;
}

/* Required star styling */
label .required {
    color: #f25e24;
    margin-left: 4px;
    font-weight: bold;
}

label {
	font-weight: bold;
    color: #00528d;
    }
    

/* Dropdown styling */
.fpf-form select option {
    background-color: #EBFAE5;
    color: #00528d;
}

/* General input, textarea, and select styling */
.fpf-form input[type="text"],
.fpf-form input[type="email"],
.fpf-form input[type="url"],
.fpf-form input[type="number"],
.fpf-form input[type="password"],
.fpf-form select,
.fpf-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* When user focuses (clicks inside input) */
.fpf-form input:focus,
.fpf-form select:focus,
.fpf-form textarea:focus {
    border-color: #0073aa; /* WP blue, change to your color */
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
    background-color: #f9fcff; /* light background on focus */
}

/* Dropdown (select box) */
.fpf-form select {
    appearance: none;          /* removes default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 30px;       /* space for custom arrow */
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

/* Excerpt field specifically */
#fpf_excerpt {
    font-style: italic;
}

/* Submit button styling */
.fpf-form input[type="submit"] {
    background-color: #0a9db1;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fpf-form input[type="submit"]:hover {
    background-color: #9dc43c;
}
