/* Feedback System - Elegant Full-Screen Design for All Devices */
:root {
    --fb-purple: #E0BBE4;
    --fb-purple-dark: #9b59b6;
    --fb-blue: #B6E3F4;
    --fb-blue-dark: #2196F3;
    --fb-text: #2D3436;
}

#feedback-launcher {
    position: fixed !important;
    bottom: 40px !important;
    right: 40px !important;
    width: 80px !important;
    height: 80px !important;
    background: linear-gradient(135deg, #E0BBE4 0%, #9b59b6 100%) !important;
    border-radius: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    cursor: pointer !important;
    box-shadow: 0 15px 35px rgba(155, 89, 182, 0.4), inset 0 2px 5px rgba(255,255,255,0.4) !important;
    z-index: 999999 !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 2px solid rgba(255,255,255,0.4) !important;
}

#feedback-launcher:hover {
    transform: scale(1.1) rotate(8deg) !important;
}

#feedback-window {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.9) !important;
    width: 900px !important;
    max-width: 95vw !important;
    height: 800px !important;
    max-height: 90vh !important;
    background: white !important;
    border-radius: 50px !important;
    display: none;
    flex-direction: column !important;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.2) !important;
    z-index: 999999 !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    opacity: 0;
}

#feedback-window.active {
    display: flex !important;
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) !important;
}

/* Mobile & Small Screens Fullscreen */
@media (max-width: 1024px) {
    #feedback-window {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        border-radius: 0 !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
    }
    #feedback-window.active {
        transform: none !important;
    }
}

.feedback-header {
    background: linear-gradient(135deg, #E0BBE4 0%, #9b59b6 100%) !important;
    padding: 40px !important;
    color: white !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.feedback-header h3 {
    margin: 0 !important;
    font-weight: 900 !important;
    font-size: 2rem !important;
    font-style: italic !important;
    letter-spacing: -0.02em !important;
}

.feedback-header span {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    opacity: 0.7 !important;
}

.feedback-messages {
    flex: 1 !important;
    padding: 40px !important;
    overflow-y: auto !important;
    background-color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
}

.message {
    max-width: 75% !important;
    padding: 20px 30px !important;
    border-radius: 35px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    line-height: 1.6 !important;
}

.message-in {
    background: #f8f9fa !important;
    color: #2D3436 !important;
    border-bottom-left-radius: 8px !important;
}

.message-out {
    background: linear-gradient(135deg, #89CFF0 0%, #2196F3 100%) !important;
    color: white !important;
    border-bottom-right-radius: 8px !important;
    margin-left: auto !important;
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.2) !important;
}

.feedback-input-area {
    padding: 40px !important;
    background: white !important;
    border-top: 1px solid #f5f5f5 !important;
}

.input-container {
    background: #f8f9fa !important;
    border-radius: 35px !important;
    padding: 12px 12px 12px 30px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    border: 2px solid transparent !important;
    transition: all 0.3s !important;
}

.input-container:focus-within {
    border-color: #E0BBE4 !important;
    background: white !important;
    box-shadow: 0 10px 30px rgba(224, 187, 228, 0.3) !important;
}

.input-container input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    font-family: inherit !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    outline: none !important;
    color: #2D3436 !important;
}

.send-btn {
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #E0BBE4 0%, #9b59b6 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    color: white !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s !important;
}

.send-btn:hover {
    transform: scale(1.05) rotate(5deg) !important;
}

.feedback-tools {
    display: flex !important;
    gap: 25px !important;
    margin-top: 25px !important;
    padding-left: 10px !important;
}

.tool-btn {
    color: #d1d5db !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.tool-btn:hover {
    color: #9b59b6 !important;
    transform: translateY(-3px) !important;
}

.feedback-close {
    background: rgba(255,255,255,0.15) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.feedback-close:hover {
    background: rgba(255,255,255,0.3) !important;
    transform: rotate(90deg) !important;
}
