.cff-container-495dacc6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.cff-trigger-btn-495dacc6 {
    background-color: var(--cff-btn-color, #6C937B);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.cff-trigger-btn-495dacc6:hover {
    opacity: 0.9;
}

.cff-modal-overlay-495dacc6 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cff-modal-overlay-495dacc6.cff-open-495dacc6 {
    opacity: 1;
    visibility: visible;
}

body.admin-bar .cff-modal-overlay-495dacc6 {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .cff-modal-overlay-495dacc6 {
        top: 46px;
        height: calc(100% - 46px);
    }
}

.cff-modal-content-495dacc6 {
    background: #fff;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cff-modal-overlay-495dacc6.cff-open-495dacc6 .cff-modal-content-495dacc6 {
    transform: translateY(0);
}

.cff-close-btn-495dacc6 {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    z-index: 10;
}

.cff-close-btn-495dacc6:hover {
    color: #000;
}

.cff-modal-header-495dacc6 {
    padding: 24px 30px 15px;
    border-bottom: 1px solid #eee;
}

.cff-modal-header-495dacc6 h2 {
    margin: 0 0 5px;
    font-size: 24px;
    color: #333;
}

.cff-modal-header-495dacc6 p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.cff-modal-body-495dacc6 {
    padding: 24px 30px;
    overflow-y: auto;
}

.cff-form-495dacc6 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cff-row-495dacc6 {
    display: flex;
    gap: 20px;
}

.cff-field-group-495dacc6 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cff-field-group-495dacc6 label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
    font-size: 14px;
}

.cff-req {
    color: #d93025;
}

.cff-field-group-495dacc6 input[type="text"],
.cff-field-group-495dacc6 textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.cff-field-group-495dacc6 input[type="text"]:focus,
.cff-field-group-495dacc6 textarea:focus {
    border-color: var(--cff-btn-color, #6C937B);
    outline: none;
}

.cff-star-rating-495dacc6 {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.cff-star-rating-495dacc6 input {
    display: none;
}

.cff-star-rating-495dacc6 label {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
    padding: 0 2px;
    margin: 0;
    transition: color 0.2s;
}

.cff-star-rating-495dacc6 input:checked ~ label,
.cff-star-rating-495dacc6 label:hover,
.cff-star-rating-495dacc6 label:hover ~ label {
    color: #f5b301;
}

.cff-radio-group-495dacc6 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cff-radio-group-495dacc6 label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
}

.cff-submit-btn-495dacc6 {
    background-color: var(--cff-btn-color, #6C937B);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: opacity 0.2s ease;
}

.cff-submit-btn-495dacc6:hover {
    opacity: 0.9;
}

.cff-submit-btn-495dacc6:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.cff-msg-495dacc6 {
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

.cff-msg-495dacc6.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cff-msg-495dacc6.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .cff-row-495dacc6 {
        flex-direction: column;
        gap: 20px;
    }
}