/* Feedback Overlay Styles */
#feedback-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.feedback-pin {
    position: absolute;
    width: 28px;
    height: 28px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
    transform: translate(-50%, -50%);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid white;
}

.feedback-pin:hover {
    transform: translate(-50%, -50%) scale(1.15);
    z-index: 10002;
    background: #ff6b81;
}

.feedback-pin.has-content {
    background: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.feedback-control-panel {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    pointer-events: auto;
    font-family: 'Outfit', sans-serif;
    min-width: 200px;
}

.feedback-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: #4f46e5;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    text-align: center;
}

.feedback-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.feedback-btn.secondary {
    background: #10b981;
}

.feedback-btn.secondary:hover {
    background: #059669;
}

.feedback-btn.active {
    background: #ff4757;
}

.feedback-tooltip {
    position: absolute;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px;
    width: 240px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    display: none;
    flex-direction: column;
    gap: 8px;
    pointer-events: auto;
    left: 36px;
    top: -20px;
    cursor: default;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.25);
    transform-origin: left center;
}

.feedback-tooltip.pos-left {
    left: auto;
    right: 36px;
    transform-origin: right center;
}

.feedback-tooltip.pos-top {
    top: auto;
    bottom: 36px;
    transform-origin: center bottom;
}

@media (max-width: 480px) {
    .feedback-tooltip {
        width: calc(100vw - 80px);
        max-width: 280px;
    }
}

.feedback-tooltip.active {
    display: flex;
}

.feedback-tooltip textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    font-family: inherit;
    font-size: 14px;
    resize: none;
    color: #1e293b;
    outline: none;
}

.feedback-tooltip textarea:focus {
    border-color: #4f46e5;
}

.feedback-status {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 4px;
    text-align: center;
}