/* Support Modal CSS */

.bug-report-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: var(--ui-font, 'Exo 2', sans-serif);
}

.bug-report-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Hide FAB on mobile — replaced by the bottom nav button */
@media (max-width: 1024px) {
    .bug-report-fab {
        display: none;
    }
}

.support-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.support-modal-content {
    background-color: var(--bg-surface);
    margin: 10% auto;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.support-modal-header {
    background: var(--bg-subtle);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.support-modal-header h2 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-primary);
}

.support-modal-close {
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.support-modal-close:hover {
    color: var(--color-error-text);
}

.support-modal-body {
    padding: 20px;
}

/* Mobile optimization for bug report modal */
@media (max-width: 1024px) {
    .support-modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    .support-modal-body {
        overflow-y: auto;
        flex: 1;
        padding: 15px;
    }

    .support-modal-header {
        flex-shrink: 0;
    }
}