/* Fixed Feedback Button - Appears on right side of screen */
.fixed-feedback-button {
    position: fixed;
    right: 30px;
    top: 40%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right center;
    z-index: 9999;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px 8px 0 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.fixed-feedback-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #dedfe1 100%);
    box-shadow: -2px 2px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) rotate(-90deg) translateX(-5px);
    right: 35px;
}

.fixed-feedback-button:active {
    transform: translateY(-50%) rotate(-90deg) translateX(-2px);
    right: 32px;
}

.fixed-feedback-button .icon {
    font-size: 20px;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fixed-feedback-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .fixed-feedback-button .icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .fixed-feedback-button {
        padding: 8px 16px;
        font-size: 13px;
        right: 25px;
    }
    
    .fixed-feedback-button .icon {
        font-size: 16px;
    }
}

/* Ensure it doesn't overlap with scroll-to-top button */
.scroll-to-top {
    bottom: 80px !important;
}

/* Animation on page load */
@keyframes slideInFromRight {
    0% {
        right: -100px;
        opacity: 0;
    }
    100% {
        right: 15px;
        opacity: 1;
    }
}

.fixed-feedback-button {
    animation: slideInFromRight 0.5s ease-out 0.5s both;
}

/* Accessibility - Focus state */
.fixed-feedback-button:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

/* Print - hide the button when printing */
@media print {
    .fixed-feedback-button {
        display: none !important;
    }
}
