/**
 * Feedback Modal Styles
 * Dark theme matching the STANDARD design system
 */

.feedback-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.feedback-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.feedback-modal-dialog {
    background: rgba(20, 20, 30, 0.98);
    border: 1px solid rgba(255, 77, 0, 0.3);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.2s;
}

.feedback-modal-overlay.open .feedback-modal-dialog {
    transform: scale(1);
}

.feedback-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feedback-modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.feedback-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.feedback-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.feedback-modal-body {
    padding: 1.5rem;
}

.feedback-form-group {
    margin-bottom: 1.25rem;
}

.feedback-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.feedback-type-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feedback-type-btn {
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.feedback-type-btn:hover {
    border-color: rgba(255, 77, 0, 0.5);
    color: #fff;
}

.feedback-type-btn.active {
    background: rgba(255, 77, 0, 0.2);
    border-color: #ff4d00;
    color: #ff4d00;
}

.feedback-textarea {
    width: 100%;
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s;
}

.feedback-textarea:focus {
    outline: none;
    border-color: #ff4d00;
}

.feedback-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.feedback-context {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.feedback-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feedback-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.feedback-btn-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.feedback-btn-cancel:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.feedback-btn-submit {
    background: #ff4d00;
    border: none;
    color: #fff;
}

.feedback-btn-submit:hover {
    background: #ff6620;
}

.feedback-btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Toast notifications */
.feedback-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s;
}

.feedback-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.feedback-toast-success {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
}

.feedback-toast-error {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
}
