/* Form container styling */
.feedback-form-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 30px;
    transition: all 0.3s ease;
}

.feedback-form-container:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.feedback-form-title {
    color: #ff5722;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px dashed rgba(255,87,34,0.2);
    padding-bottom: 15px;
}

/* Form controls */
.form-control, .form-select {
    border-radius: 8px;
    padding: 12px 18px;
    border: 1px solid #ddd;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-control:focus, .form-select:focus {
    border-color: #ff5722;
    box-shadow: 0 0 10px rgba(255,87,34,0.15);
    background-color: #fff;
    transform: translateY(-2px);
}

.form-label {
    font-weight: 600;
    font-size: 16px;
    color: #444;
    margin-bottom: 8px;
}

/* Submit button */
.btn-submit {
    background: #ff5722;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255,87,34,0.3);
}

.btn-submit:hover {
    background: #e64a19;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,87,34,0.4);
}

/* Rating Stars Styling */
.rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 20px;
    font-size: 70px;  /* Increased size for better visibility */
    padding: 25px 0;
    justify-content: center;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    cursor: pointer;
    color: #ddd;
    transition: color 0.3s ease-in-out, transform 0.2s ease;
    display: inline-block;
}

.rating-stars label:hover {
    transform: scale(1.2);
}

.rating-stars input:checked ~ label {
    color: #ffd700;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label {
    color: #ffd700;
}

.rating-value-display {
    font-size: 22px;
    font-weight: 600;
    color: #555;
    margin-top: 5px;
}

.rating-label {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
}

/* Suggestion Field Styling */
.suggestion-field-container textarea {
    background-color: #fff9e6;
    border: 1px solid #ffc107;
    border-left-width: 3px;
    transition: all 0.3s ease;
}

.suggestion-field-container textarea:focus {
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.4);
    border-color: #ffc107;
    outline: none;
    background-color: #fff;
    transform: translateY(-3px);
}

.suggestion-field-container .text-muted {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-style: italic;
}

.suggestion-field-container .text-muted i {
    color: #ffc107;
    margin-right: 5px;
    font-size: 0.9rem;
}

/* Error Messages */
.feedback-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: none;
    background-color: rgba(220, 53, 69, 0.05);
    border-left: 3px solid #dc3545;
    padding: 5px 10px;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: fadeIn 0.3s ease;
}

/* Alert Messages */
.feedback-alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    position: relative;
    animation: fadeIn 0.5s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feedback-alert.success {
    background-color: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.feedback-alert.error {
    background-color: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Image Upload */
.form-control[type="file"] {
    padding: 15px;
    line-height: 1.5;
    border: 2px dashed #ddd;
    background-color: #f9f9f9;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-control[type="file"]:hover {
    border-color: #ff5722;
    background-color: #fff9f9;
}

#image-preview {
    border-radius: 10px;
    border: 3px solid #e9ecef;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 10px auto;
    display: block;
}

/* Card design for form elements */
.form-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .feedback-form-container {
        padding: 25px;
        border-radius: 15px;
    }
    
    .feedback-form-title {
        font-size: 24px;
    }
    
    .form-control, .form-select {
        font-size: 15px;
        padding: 10px 15px;
    }
    
    .rating-stars {
        font-size: 50px;
        gap: 15px;
    }
    
    .btn-submit {
        padding: 12px 25px;
        font-size: 15px;
    }
} 