@keyframes sefbFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.sefb-form-wrapper {
    position: relative;
    box-sizing: border-box;
    animation: sefbFadeIn 0.5s ease-out;
}
.sefb-form .sefb-field-group {
    margin-bottom: 15px;
    transition: all 0.3s ease;
}
.sefb-form .sefb-field-group:focus-within {
    transform: scale(1.01);
}
.sefb-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.sefb-star-rating input {
    display: none;
}
.sefb-star-rating label {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    margin: 0 2px;
}
.sefb-star-rating input:checked ~ label,
.sefb-star-rating label:hover,
.sefb-star-rating label:hover ~ label {
    color: #f39c12;
}
.sefb-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.sefb-form label .required {
    color: red;
}
.sefb-form input[type="text"],
.sefb-form input[type="email"],
.sefb-form input[type="tel"],
.sefb-form textarea,
.sefb-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Elementor conflict prevention */
}
.sefb-form textarea {
    min-height: 100px;
}
.sefb-form .sefb-submit-btn {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}
.sefb-form .sefb-submit-btn:hover {
    background-color: #005177;
}
.sefb-form .sefb-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.sefb-message {
    margin-top: 15px;
    font-size: 14px;
}
.sefb-message.success {
    color: green;
    padding: 10px;
    background: #eaffea;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}
.sefb-message.error {
    color: red;
    padding: 10px;
    background: #ffeaea;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}
.sefb-hidden {
    display: none;
}
.sefb-error {
    border-color: red !important;
}
.sefb-step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.sefb-prev-btn, .sefb-next-btn {
    padding: 8px 16px;
    background: #eee;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 4px;
}
.sefb-next-btn {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
    margin-left: auto;
}
.sefb-sortable-placeholder {
    border: 2px dashed #ccc;
    background: #f9f9f9;
    height: 60px;
    margin-bottom: 15px;
}
.sefb-dragging-helper {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    list-style: none;
    z-index: 9999;
}
.sefb-field-error-msg {
    color: red;
    font-size: 12px;
    margin-top: 3px;
    display: block;
}
