/* GlowReviews Shortcode Styles */

/* Feedback Form Styles */
.feedback-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
    max-width: 600px;
    text-align: left;
}

.feedback-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.feedback-form-header h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.feedback-form-header p {
    color: #6c757d;
    margin: 0;
}

.glowreviews-feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left !important;
    align-items: flex-start;
}

.form-group label {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: left !important;
    align-self: flex-start;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Rating Input Styles */
.rating-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    text-align: left;
    align-self: flex-start;
}

.rating-input label {
    text-align: left !important;
    margin-bottom: 0.5rem;
    align-self: flex-start;
    display: block;
}

.rating-input input[type="radio"] {
    display: none;
}

.star-label {
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
    opacity: 0.5;
}

.star-label:hover,
.star-label:hover ~ .star-label,
.rating-input input[type="radio"]:checked ~ .star-label {
    opacity: 1;
    transform: scale(1.1);
}

.rating-input input[type="radio"]:checked ~ .star-label {
    opacity: 1;
}

/* Submit Button */
.feedback-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feedback-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.feedback-submit:active {
    transform: translateY(0);
}

/* Success Message */
.feedback-success {
    margin-top: 1rem;
}

/* Testimonial Card Styles */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.testimonial-rating {
    color: #ffd700;
    font-size: 0.9rem;
}

.testimonial-content {
    color: #6c757d;
    line-height: 1.6;
    font-style: italic;
}

/* Alert Box Styles */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid;
    position: relative;
}

.alert-info {
    background: #d1ecf1;
    border-color: #0c5460;
    color: #0c5460;
}

.alert-success {
    background: #d4edda;
    border-color: #155724;
    color: #155724;
}

.alert-warning {
    background: #fff3cd;
    border-color: #856404;
    color: #856404;
}

.alert-error {
    background: #f8d7da;
    border-color: #721c24;
    color: #721c24;
}

.alert-dismissible {
    padding-right: 3rem;
}

.alert-close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.alert-close:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-header img {
        margin-bottom: 0.5rem;
    }
    
    .alert-dismissible {
        padding-right: 1.5rem;
    }
    
    .alert-close {
        top: 1rem;
        right: 1rem;
    }
}
