/* 
 * Breast Pump Hub Community - Feminine Theme
 * Mobile-first responsive design
 */

/* ========================================
   CSS Variables & Root Styles
   ======================================== */
:root {
    --bph-primary: #d946a6;
    --bph-primary-light: #f0abfc;
    --bph-primary-dark: #a21caf;
    --bph-secondary: #ec4899;
    --bph-accent: #fbbf24;
    --bph-bg-primary: #fdf4ff;
    --bph-bg-secondary: #fce7f3;
    --bph-bg-white: #ffffff;
    --bph-text-primary: #1f2937;
    --bph-text-secondary: #6b7280;
    --bph-border: #f3e8ff;
    --bph-border-hover: #e9d5ff;
    --bph-success: #10b981;
    --bph-error: #ef4444;
    --bph-info: #3b82f6;
    --bph-shadow: 0 2px 8px rgba(217, 70, 166, 0.1);
    --bph-shadow-hover: 0 4px 16px rgba(217, 70, 166, 0.15);
    --bph-radius: 12px;
    --bph-radius-small: 8px;
    --bph-transition: all 0.3s ease;
}

/* ========================================
   Main Container
   ======================================== */
.bph-community-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #fdf4ff 0%, #fce7f3 100%);
    border-radius: var(--bph-radius);
}

@media (min-width: 768px) {
    .bph-community-wrapper {
        padding: 30px;
    }
}

/* ========================================
   Header Section
   ======================================== */
.bph-community-header {
    background: linear-gradient(135deg, var(--bph-primary) 0%, var(--bph-secondary) 100%);
    padding: 20px;
    border-radius: var(--bph-radius);
    margin-bottom: 20px;
    text-align: center;
    box-shadow: var(--bph-shadow);
}

@media (min-width: 768px) {
    .bph-community-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 30px;
    }
}

.bph-community-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .bph-community-title {
        font-size: 32px;
    }
}

.bph-community-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .bph-community-subtitle {
        font-size: 16px;
    }
}

.bph-header-actions {
    margin-top: 15px;
}

@media (min-width: 768px) {
    .bph-header-actions {
        margin-top: 0;
    }
}

/* ========================================
   Buttons
   ======================================== */
.bph-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--bph-primary);
    padding: 12px 20px;
    border-radius: var(--bph-radius-small);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--bph-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .bph-btn-primary {
        padding: 14px 28px;
        font-size: 16px;
    }
}

.bph-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: var(--bph-bg-primary);
}

.bph-btn-icon {
    font-size: 18px;
}

/* ========================================
   Filter Bar
   ======================================== */
.bph-filter-bar {
    background: white;
    padding: 15px;
    border-radius: var(--bph-radius);
    margin-bottom: 20px;
    box-shadow: var(--bph-shadow);
}

@media (min-width: 768px) {
    .bph-filter-bar {
        display: flex;
        gap: 15px;
        align-items: center;
        padding: 20px;
    }
}

.bph-search-form {
    flex: 1;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .bph-search-form {
        margin-bottom: 0;
    }
}

.bph-search-wrapper {
    display: flex;
    gap: 8px;
}

.bph-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--bph-border);
    border-radius: var(--bph-radius-small);
    font-size: 14px;
    transition: var(--bph-transition);
}

@media (min-width: 768px) {
    .bph-search-input {
        padding: 12px 18px;
        font-size: 15px;
    }
}

.bph-search-input:focus {
    outline: none;
    border-color: var(--bph-primary);
    box-shadow: 0 0 0 3px rgba(217, 70, 166, 0.1);
}

.bph-search-btn {
    padding: 10px 20px;
    background: var(--bph-primary);
    color: white;
    border: none;
    border-radius: var(--bph-radius-small);
    font-weight: 600;
    cursor: pointer;
    transition: var(--bph-transition);
    font-size: 14px;
}

@media (min-width: 768px) {
    .bph-search-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

.bph-search-btn:hover {
    background: var(--bph-primary-dark);
}

.bph-filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .bph-filter-buttons {
        gap: 10px;
    }
}

.bph-filter-select {
    padding: 10px 12px;
    border: 2px solid var(--bph-border);
    border-radius: var(--bph-radius-small);
    font-size: 13px;
    background: white;
    cursor: pointer;
    transition: var(--bph-transition);
    min-width: 120px;
}

@media (min-width: 768px) {
    .bph-filter-select {
        padding: 12px 16px;
        font-size: 14px;
        min-width: 150px;
    }
}

.bph-filter-select:focus {
    outline: none;
    border-color: var(--bph-primary);
}

/* ========================================
   Questions List
   ======================================== */
.bph-questions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 768px) {
    .bph-questions-list {
        gap: 20px;
    }
}

.bph-question-card {
    background: white;
    border-radius: var(--bph-radius);
    padding: 15px;
    box-shadow: var(--bph-shadow);
    transition: var(--bph-transition);
    border: 2px solid transparent;
}

@media (min-width: 768px) {
    .bph-question-card {
        display: flex;
        gap: 20px;
        padding: 20px;
    }
}

.bph-question-card:hover {
    box-shadow: var(--bph-shadow-hover);
    border-color: var(--bph-border-hover);
    transform: translateY(-2px);
}

.bph-question-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: space-around;
    background: var(--bph-bg-primary);
    padding: 10px;
    border-radius: var(--bph-radius-small);
}

@media (min-width: 768px) {
    .bph-question-stats {
        flex-direction: column;
        margin-bottom: 0;
        min-width: 80px;
        justify-content: flex-start;
        padding: 15px;
    }
}

.bph-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.bph-stat-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--bph-primary);
}

@media (min-width: 768px) {
    .bph-stat-number {
        font-size: 24px;
    }
}

.bph-stat-label {
    font-size: 11px;
    color: var(--bph-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .bph-stat-label {
        font-size: 12px;
    }
}

.bph-question-content {
    flex: 1;
}

.bph-question-header {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.bph-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .bph-badge {
        padding: 5px 12px;
        font-size: 12px;
    }
}

.bph-badge-answered {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.bph-badge-category {
    background: linear-gradient(135deg, var(--bph-primary-light) 0%, var(--bph-primary) 100%);
    color: white;
}

.bph-question-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--bph-text-primary);
}

@media (min-width: 768px) {
    .bph-question-title {
        font-size: 22px;
    }
}

.bph-question-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--bph-transition);
}

.bph-question-title a:hover {
    color: var(--bph-primary);
}

.bph-question-excerpt {
    color: var(--bph-text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .bph-question-excerpt {
        font-size: 15px;
    }
}

.bph-question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.bph-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bph-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bph-primary) 0%, var(--bph-secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .bph-author-avatar {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

.bph-author-name {
    font-weight: 600;
    color: var(--bph-text-primary);
    font-size: 13px;
}

@media (min-width: 768px) {
    .bph-author-name {
        font-size: 14px;
    }
}

.bph-question-time {
    color: var(--bph-text-secondary);
    font-size: 12px;
}

@media (min-width: 768px) {
    .bph-question-time {
        font-size: 13px;
    }
}

/* ========================================
   Empty State
   ======================================== */
.bph-empty-state {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: var(--bph-radius);
    box-shadow: var(--bph-shadow);
}

@media (min-width: 768px) {
    .bph-empty-state {
        padding: 60px 40px;
    }
}

.bph-empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .bph-empty-icon {
        font-size: 64px;
        margin-bottom: 20px;
    }
}

.bph-empty-state h3 {
    color: var(--bph-text-primary);
    font-size: 20px;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .bph-empty-state h3 {
        font-size: 24px;
    }
}

.bph-empty-state p {
    color: var(--bph-text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .bph-empty-state p {
        font-size: 16px;
    }
}

/* ========================================
   Forms
   ======================================== */
.bph-ask-question-container,
.bph-ask-form-inline {
    background: white;
    padding: 20px;
    border-radius: var(--bph-radius);
    box-shadow: var(--bph-shadow);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .bph-ask-question-container,
    .bph-ask-form-inline {
        padding: 30px;
    }
}

.bph-form-header {
    text-align: center;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .bph-form-header {
        margin-bottom: 30px;
    }
}

.bph-form-title {
    color: var(--bph-primary);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

@media (min-width: 768px) {
    .bph-form-title {
        font-size: 28px;
    }
}

.bph-form-description {
    color: var(--bph-text-secondary);
    margin: 0;
    font-size: 14px;
}

@media (min-width: 768px) {
    .bph-form-description {
        font-size: 16px;
    }
}

.bph-form-group {
    margin-bottom: 20px;
}

.bph-form-label {
    display: block;
    font-weight: 600;
    color: var(--bph-text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .bph-form-label {
        font-size: 15px;
    }
}

.bph-required {
    color: var(--bph-error);
}

.bph-form-input,
.bph-form-textarea,
.bph-form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--bph-border);
    border-radius: var(--bph-radius-small);
    font-size: 14px;
    font-family: inherit;
    transition: var(--bph-transition);
    background: white;
}

@media (min-width: 768px) {
    .bph-form-input,
    .bph-form-textarea,
    .bph-form-select {
        padding: 14px 18px;
        font-size: 15px;
    }
}

.bph-form-input:focus,
.bph-form-textarea:focus,
.bph-form-select:focus {
    outline: none;
    border-color: var(--bph-primary);
    box-shadow: 0 0 0 3px rgba(217, 70, 166, 0.1);
}

.bph-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.bph-form-hint {
    font-size: 12px;
    color: var(--bph-text-secondary);
    margin-top: 6px;
    font-style: italic;
}

@media (min-width: 768px) {
    .bph-form-hint {
        font-size: 13px;
    }
}

.bph-form-notice {
    background: var(--bph-bg-primary);
    border-left: 4px solid var(--bph-primary);
    padding: 15px;
    border-radius: var(--bph-radius-small);
    margin-bottom: 20px;
    font-size: 13px;
}

@media (min-width: 768px) {
    .bph-form-notice {
        font-size: 14px;
    }
}

.bph-form-notice p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: var(--bph-primary);
}

.bph-form-notice ul {
    margin: 0;
    padding-left: 20px;
    color: var(--bph-text-secondary);
}

.bph-form-notice li {
    margin-bottom: 5px;
}

.bph-form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bph-btn-submit {
    flex: 1;
    min-width: 150px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--bph-primary) 0%, var(--bph-secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--bph-radius-small);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--bph-transition);
    box-shadow: var(--bph-shadow);
}

@media (min-width: 768px) {
    .bph-btn-submit {
        padding: 16px 32px;
        font-size: 16px;
    }
}

.bph-btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--bph-shadow-hover);
}

.bph-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bph-btn-reset {
    padding: 14px 24px;
    background: white;
    color: var(--bph-text-secondary);
    border: 2px solid var(--bph-border);
    border-radius: var(--bph-radius-small);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--bph-transition);
}

@media (min-width: 768px) {
    .bph-btn-reset {
        padding: 16px 32px;
        font-size: 15px;
    }
}

.bph-btn-reset:hover {
    background: var(--bph-bg-primary);
    border-color: var(--bph-primary);
}

.bph-form-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: var(--bph-radius-small);
    font-size: 14px;
}

@media (min-width: 768px) {
    .bph-form-message {
        font-size: 15px;
    }
}

.bph-form-message.success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--bph-success);
}

.bph-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--bph-error);
}

/* ========================================
   Single Question Modal
   ======================================== */
.bph-single-question-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10px;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .bph-single-question-modal {
        padding: 20px;
        align-items: center;
    }
}

.bph-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: -1;
}

.bph-modal-content {
    position: relative;
    background: white;
    border-radius: var(--bph-radius);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}

@media (min-width: 768px) {
    .bph-modal-content {
        margin: 0;
    }
}

.bph-modal-close {
    position: sticky;
    top: 10px;
    right: 10px;
    float: right;
    width: 36px;
    height: 36px;
    background: var(--bph-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: var(--bph-transition);
    z-index: 10;
    box-shadow: var(--bph-shadow);
}

@media (min-width: 768px) {
    .bph-modal-close {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
}

.bph-modal-close:hover {
    background: var(--bph-primary-dark);
    transform: rotate(90deg);
}

.bph-single-question {
    padding: 20px;
    clear: both;
}

@media (min-width: 768px) {
    .bph-single-question {
        padding: 40px;
    }
}

.bph-question-header-full {
    margin-bottom: 25px;
}

.bph-question-title-full {
    font-size: 24px;
    font-weight: 700;
    color: var(--bph-text-primary);
    margin: 15px 0;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .bph-question-title-full {
        font-size: 32px;
    }
}

.bph-question-meta-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bph-question-stats-inline {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--bph-text-secondary);
}

@media (min-width: 768px) {
    .bph-question-stats-inline {
        font-size: 14px;
    }
}

.bph-question-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--bph-text-primary);
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bph-bg-primary);
    border-radius: var(--bph-radius);
}

@media (min-width: 768px) {
    .bph-question-body {
        font-size: 16px;
        padding: 25px;
    }
}

.bph-question-actions {
    margin-bottom: 30px;
}

/* ========================================
   Voting Buttons
   ======================================== */
.bph-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    border: 2px solid var(--bph-border);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--bph-transition);
    font-size: 14px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .bph-vote-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

.bph-vote-btn:hover {
    background: var(--bph-bg-primary);
    border-color: var(--bph-primary);
    transform: translateY(-2px);
}

.bph-vote-btn.voted {
    background: var(--bph-primary);
    border-color: var(--bph-primary);
    color: white;
}

.bph-vote-icon {
    font-size: 16px;
}

@media (min-width: 768px) {
    .bph-vote-icon {
        font-size: 18px;
    }
}

.bph-vote-count {
    font-weight: 700;
}

/* ========================================
   Answers Section
   ======================================== */
.bph-answers-section {
    border-top: 2px solid var(--bph-border);
    padding-top: 25px;
    margin-top: 25px;
}

@media (min-width: 768px) {
    .bph-answers-section {
        padding-top: 30px;
        margin-top: 30px;
    }
}

.bph-answers-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--bph-primary);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .bph-answers-title {
        font-size: 24px;
    }
}

.bph-answers-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 768px) {
    .bph-answers-list {
        gap: 20px;
    }
}

.bph-answer-card {
    background: var(--bph-bg-secondary);
    padding: 15px;
    border-radius: var(--bph-radius);
    border: 2px solid transparent;
    transition: var(--bph-transition);
}

@media (min-width: 768px) {
    .bph-answer-card {
        padding: 20px;
    }
}

.bph-answer-card:hover {
    border-color: var(--bph-border-hover);
}

.bph-best-answer {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: var(--bph-accent);
    position: relative;
}

.bph-best-answer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--bph-accent) 0%, #f59e0b 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    box-shadow: var(--bph-shadow);
}

@media (min-width: 768px) {
    .bph-best-answer-badge {
        font-size: 13px;
        padding: 8px 16px;
    }
}

.bph-answer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.bph-answer-content {
    font-size: 14px;
    line-height: 1.7;
    color: var(--bph-text-primary);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .bph-answer-content {
        font-size: 15px;
    }
}

.bph-answer-actions {
    display: flex;
    gap: 10px;
}

.bph-vote-btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

@media (min-width: 768px) {
    .bph-vote-btn-small {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.bph-mark-best-btn {
    padding: 6px 12px;
    background: white;
    border: 2px solid var(--bph-accent);
    color: var(--bph-accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--bph-transition);
}

@media (min-width: 768px) {
    .bph-mark-best-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.bph-mark-best-btn:hover {
    background: var(--bph-accent);
    color: white;
}

.bph-no-answers {
    text-align: center;
    padding: 30px 20px;
    color: var(--bph-text-secondary);
    font-size: 15px;
}

@media (min-width: 768px) {
    .bph-no-answers {
        padding: 40px;
        font-size: 16px;
    }
}

/* ========================================
   Answer Form
   ======================================== */
.bph-answer-form-section {
    border-top: 2px solid var(--bph-border);
    padding-top: 25px;
    margin-top: 25px;
}

@media (min-width: 768px) {
    .bph-answer-form-section {
        padding-top: 30px;
        margin-top: 30px;
    }
}

.bph-answer-form-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--bph-primary);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .bph-answer-form-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/* ========================================
   Notices
   ======================================== */
.bph-notice {
    padding: 12px 15px;
    border-radius: var(--bph-radius-small);
    margin-bottom: 20px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .bph-notice {
        padding: 15px 20px;
        font-size: 15px;
    }
}

.bph-notice-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid var(--bph-info);
}

.bph-notice-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--bph-error);
}

.bph-notice a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

/* ========================================
   Loading Spinner
   ======================================== */
.bph-btn-loader {
    display: inline-block;
    animation: bph-spin 1s linear infinite;
}

@keyframes bph-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   Responsive Utilities
   ======================================== */
@media (max-width: 767px) {
    .bph-hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .bph-hide-desktop {
        display: none !important;
    }
}

/* ========================================
   Accessibility
   ======================================== */
.bph-community-wrapper :focus-visible {
    outline: 3px solid var(--bph-primary);
    outline-offset: 2px;
}

.bph-community-wrapper button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .bph-filter-bar,
    .bph-header-actions,
    .bph-question-actions,
    .bph-answer-actions,
    .bph-answer-form-section,
    .bph-modal-close {
        display: none !important;
    }
    
    .bph-modal-overlay {
        display: none !important;
    }
    
    .bph-single-question-modal {
        position: static;
    }
    
    .bph-modal-content {
        max-height: none;
        box-shadow: none;
    }
}
