/* === Svivi Error Report Styles === */
.svivi-err-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #D98A2E 0%, #BD7522 100%);
    color: #fff;
    border: none;
    border-radius: 1.2rem;
    padding: 0.45rem 1rem;
    font-family: 'Heebo', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(217, 138, 46, 0.15);
    transition: all 0.3s;
    white-space: nowrap;
}
.svivi-err-nav-btn:hover {
    box-shadow: 0 4px 16px rgba(217, 138, 46, 0.3);
    transform: translateY(-1px);
}

.svivi-err-fab {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #D98A2E 0%, #BD7522 100%);
    color: #fff;
    border: none;
    border-radius: 1.5rem;
    padding: 0.8rem 1.4rem;
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(217, 138, 46, 0.2);
    transition: all 0.3s ease;
}
.svivi-err-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(217, 138, 46, 0.3);
}

.svivi-err-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.svivi-err-dialog {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    direction: rtl;
}

.svivi-err-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.svivi-err-header h3 {
    flex: 1;
    font-family: 'Rubik', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.svivi-err-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.2rem;
}
.svivi-err-close:hover {
    color: #475569;
}

.svivi-err-field {
    margin-bottom: 1rem;
}
.svivi-err-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.3rem;
}
.svivi-err-field input,
.svivi-err-field textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    font-family: 'Heebo', sans-serif;
    font-size: 0.9rem;
    color: #1e293b;
    transition: border-color 0.2s;
    background: #f8fafc;
}
.svivi-err-field input:focus,
.svivi-err-field textarea:focus {
    outline: 2px solid #D98A2E;
    outline-offset: 2px;
    border-color: #D98A2E;
    background: #fff;
}

/* === Accessibility - Focus Visible === */
.svivi-err-fab:focus-visible,
.svivi-err-nav-btn:focus-visible,
.svivi-err-close:focus-visible,
.svivi-err-submit:focus-visible {
    outline: 2px solid #D98A2E;
    outline-offset: 2px;
}

.svivi-err-submit {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #D98A2E 0%, #BD7522 100%);
    color: #fff;
    border: none;
    border-radius: 1rem;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(217, 138, 46, 0.15);
}
.svivi-err-submit:hover {
    box-shadow: 0 6px 24px rgba(217, 138, 46, 0.2);
}
.svivi-err-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .svivi-err-fab {
        bottom: 1rem;
        left: 1rem;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    .svivi-err-fab-label { display: none; }
    .svivi-err-dialog {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    .svivi-err-nav-btn span { display: none; }
    .svivi-err-nav-btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
}
