.ce-feedback-form {
    text-align: center;
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Headings for each step */
.ce-step-1 h3,
.ce-step-2 h4 {
    color: #333;
    margin-bottom: 15px;
}

/* Star container */
.ce-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
}

/* Individual star styles */
.ce-star {
    font-size: 2.5rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

.ce-star:hover,
.ce-star.hovered,
.ce-star.selected {
    color: #ffcc00;
}

.ce-star.selected {
    font-weight: bold;
}

/* Step container styling */
.ce-step {
    margin-top: 20px;
}

/* Hide second step initially */
.ce-step-2 {
    display: none;
}

/* Form fields container */
.ce-step-2 .form-field {
    margin-bottom: 15px;
    text-align: left;
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
}

/* Inputs, textarea, and file upload styling */
.ce-step-2 .form-field input,
.ce-step-2 .form-field textarea,
.ce-step-2 .form-field input[type="file"] {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Error styling for invalid fields */
.ce-step-2 .form-field input.error,
.ce-step-2 .form-field textarea.error {
    border-color: #ff0000;
    background-color: #ffe6e6;
}

/* Focus state for inputs/textarea */
.ce-step-2 .form-field input:focus,
.ce-step-2 .form-field textarea:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 4px rgba(255, 204, 0, 0.5);
}

/* Submit button styling */
.ce-step-2 button[type="submit"] {
    padding: 10px 20px;
    background-color: #ffcc00;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.ce-step-2 button[type="submit"]:hover {
    background-color: #e6b800;
    transform: scale(1.02);
}

.ce-step-2 button[type="submit"]:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Loader style */
.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.loader-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    color: #333;
    font-size: 16px;
    margin-top: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* File input styling */
.ce-step-2 .form-field input[type="file"] {
    padding: 5px;
    font-size: 0.9rem;
}

/* Error message styling */
.ce-error-message {
    color: #ff0000;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Character count styling */
.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}
