.rcs-feedback-content {
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
}

.feedback-message {
    margin-bottom: 2rem;
    text-align: center;
}

.feedback-message p {
    margin: 0.75rem 0;
    color: #374151;
    font-size: 1rem;
    line-height: 1.5;
}

.feedback-container {
    margin-top: 1rem;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.feedback-container p {
    color: #4B5563;
    margin-bottom: 1.5rem;
}

/* Emoji rating styles */
.emoji-rating {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    gap: 8px;
}

.emoji-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.emoji-option.selected {
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
}

.emoji-button {
    font-size: 32px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.emoji-label {
    font-size: 12px;
    margin-top: 6px;
    color: #4B5563;
}

.emoji-button:hover,
.emoji-button.hover {
    transform: scale(1.2);
}

.submit-feedback-button {
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
    max-width: 200px;
}

.submit-feedback-button:hover {
    background-color: #1d4ed8;
}

.feedback-text-container {
    margin: 15px 0;
    width: 100%;
}

.feedback-message-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
}

.feedback-message-input:focus {
    outline: none;
    border-color: #007bff;
}

.thank-you-message {
    font-size: 18px;
    font-weight: 500;
    color: #4caf50;
    margin: 2rem 0;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive styles */
@media (max-width: 480px) {
    .rcs-feedback-content {
        padding: 1rem;
        height: calc(100vh - 60px);
    }
    
    .emoji-button {
        font-size: 28px;
    }
    
    .submit-feedback-button {
        margin-top: 1.5rem;
        width: 100%;
        padding: 15px;
        font-size: 16px;
        position: fixed;
        bottom: 20px;
        left: 0;
        right: 0;
        margin: 0 1rem;
        width: calc(100% - 2rem);
        max-width: none;
    }
    
    .emoji-rating {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 15px;
        margin: 20px 0;
    }
    
    .emoji-option {
        flex: 0 0 40%;
        margin: 0;
    }
    
    .feedback-message-input {
        font-size: 16px;
        padding: 12px;
    }
}

/* Landscape mode */
@media (max-height: 500px) and (orientation: landscape) {
    .rcs-feedback-content {
        padding: 0.5rem;
    }

    .emoji-rating {
        flex-wrap: nowrap;
        justify-content: center;
    }

    .emoji-option {
        flex: 0 0 auto;
    }

    .submit-feedback-button {
        position: static;
        margin: 1rem auto;
        width: auto;
        min-width: 200px;
    }
}