.feedback-bubbles {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.feedback-bubble {
    position: relative;
    border: 3px solid #2a2a2a;
    border-radius: 25px;
    padding: 20px 30px;
    font-size: 18px;
    line-height: 1.6;
    box-shadow: 6px 6px 0 #2a2a2a;
    width: 80%;
    color: #000;
}

/* Alignment */
.feedback-bubble.left {
    align-self: flex-start;
    text-align: left;
}

.feedback-bubble.right {
    align-self: flex-end;
    text-align: right;
}

/* Slightly darker pastel background colors */
.feedback-bubble.red {
    background-color: #ffcccc;
}
.feedback-bubble.green {
    background-color: #ccffcc;
}
.feedback-bubble.blue {
    background-color: #cce6ff;
}
.feedback-bubble.yellow {
    background-color: #fff2cc;
}

/* Tail overrides for left bubbles */
.feedback-bubble.left.red::after,
.feedback-bubble.left.green::after,
.feedback-bubble.left.blue::after,
.feedback-bubble.left.yellow::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: -15px;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    transform: rotate(-20deg);
    filter: drop-shadow(-3px 3px 0 #2a2a2a);
}
.feedback-bubble.left.red::after { border-right: 25px solid #ffcccc; }
.feedback-bubble.left.green::after { border-right: 25px solid #ccffcc; }
.feedback-bubble.left.blue::after { border-right: 25px solid #cce6ff; }
.feedback-bubble.left.yellow::after { border-right: 25px solid #fff2cc; }

/* Tail overrides for right bubbles */
.feedback-bubble.right.red::after,
.feedback-bubble.right.green::after,
.feedback-bubble.right.blue::after,
.feedback-bubble.right.yellow::after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: -15px;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    transform: rotate(20deg);
    filter: drop-shadow(3px 3px 0 #2a2a2a);
}
.feedback-bubble.right.red::after { border-left: 25px solid #ffcccc; }
.feedback-bubble.right.green::after { border-left: 25px solid #ccffcc; }
.feedback-bubble.right.blue::after { border-left: 25px solid #cce6ff; }
.feedback-bubble.right.yellow::after { border-left: 25px solid #fff2cc; }

/* Text styling */
.bubble-text {
    margin-bottom: 12px;
    font-weight: bold;
    font-style: italic;
}

.bubble-meta {
    font-size: 15px;
    color: #333;
    margin-top: 8px;
}

.bubble-name {
    font-weight: bold;
    margin-bottom: -5px;
}

.bubble-event {
    color: #333;
    margin-bottom: 4px;
}

.bubble-date {
    font-size: 13px;
    color: #666;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .feedback-bubble {
        width: 99%;
    }
}
