/* Feedback Button Styles */
.feedback-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

.feedback-btn {
    background: linear-gradient(135deg, #8B6F47 0%, #A0826D 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.feedback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 111, 71, 0.4);
}

.feedback-btn svg {
    width: 18px;
    height: 18px;
}

/* Feedback Panel */
.feedback-panel {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 380px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.feedback-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.feedback-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.close-feedback {
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-feedback:hover {
    color: #fff;
}

.feedback-content {
    padding: 20px;
}

.feedback-type,
.feedback-message,
.feedback-email {
    margin-bottom: 20px;
}

.feedback-content label {
    display: block;
    color: #ccc;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.feedback-content select,
.feedback-content textarea,
.feedback-content input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.feedback-content select:focus,
.feedback-content textarea:focus,
.feedback-content input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #8B6F47;
}

.feedback-content textarea {
    resize: vertical;
    min-height: 100px;
}

.feedback-content select {
    cursor: pointer;
}

.feedback-content option {
    background: #1a1a1a;
    color: #fff;
}

.send-feedback-btn {
    width: 100%;
    padding: 12px 20px;
    background: #8B6F47;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.send-feedback-btn:hover {
    background: #A0826D;
    transform: translateY(-1px);
}

.feedback-status {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
}

.feedback-status .success {
    color: #4CAF50;
}

.feedback-status .error {
    color: #ff6b6b;
}

.feedback-status .info {
    color: #8B6F47;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .feedback-container {
        top: 20px; /* Align with logo at top */
        right: 15px;
        bottom: auto;
        z-index: 50000; /* Keep above other elements but below modal */
    }
    
    .feedback-btn {
        padding: 8px;
        font-size: 13px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feedback-btn span {
        display: none; /* Hide text on mobile, show icon only */
    }
    
    .feedback-btn svg {
        margin: 0;
        width: 20px;
        height: 20px;
    }
    
    .feedback-panel {
        width: calc(100vw - 30px);
        right: -5px;
        top: 70px; /* Below the button */
        bottom: auto;
    }
    
    .feedback-content {
        padding: 15px;
    }
    
    .feedback-content textarea {
        min-height: 80px;
    }
}

/* Very small screens */
@media (max-width: 375px) {
    .feedback-panel {
        width: calc(100vw - 20px);
        right: -10px;
    }
}