.c360-rate {
    display: grid;
    gap: .5rem; 
    align-items: center;
    justify-content: center;
}

.c360-rate button {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: transform .1s;
    padding: 0;
    overflow: hidden;
}

.c360-rate button:hover {
    transform: scale(1.1);
}

.c360-rate button:disabled {
    opacity: .35;
    cursor: default;
}

.emotion-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Individual button styling */
.emotion-1 { background-color: #FF4D4D; } /* Red (angry) */
.emotion-2 { background-color: #FF9F45; } /* Orange (sad) */
.emotion-3 { background-color: #FFD700; } /* Yellow (neutral) */
.emotion-4 { background-color: #9ACD32; } /* Light green (smile) */
.emotion-5 { background-color: #4CAF50; } /* Green (laugh) */

/* Add these to your existing feedback-widget.css */

.feedback-form-container {
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
    min-width: 400px; /* Ensure container is wide enough */
}

.email-container {
    margin-bottom: 10px;
}

.feedback-email {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    
    font-size: 14px;
    flex: 1;
    min-width: 300px; /* Set minimum width */
}

.feedback-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feedback-email {
    flex: 1;
}

/* Make the input row responsive */
@media (max-width: 500px) {
    .feedback-input-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feedback-email {
        width: 100%;
        min-width: 100%; /* Full width on small screens */
    }
    
    .anonymous-option {
        margin-top: 8px;
    }
}

.anonymous-option {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.rating-label {
    margin-bottom: 10px;
    font-weight: bold;
}

.emotions-container {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-top: 5px;
}

.feedback-blocked-message {
    color: #ff4d4d;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Loading overlay - match RFQ style */
.loading-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    z-index: 999999 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0s linear 0.3s;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--brand-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Apply credentials-input styling to feedback email */
.credentials-input {
    padding: 0.75rem;
    border: 3px solid #333;
    background: #000;
    color: #fff;
    border-radius: 5px;
}

.credentials-input:focus {
    outline: 2px solid var(--brand-color);
}