/* Creator profile page styles */
.creator-profile { max-width: 900px; }
.profile-banner { height: 200px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: var(--radius); margin-bottom: -60px; }
.profile-main { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem; }
.profile-avatar-large { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); border: 4px solid var(--bg); }
.profile-name { margin-top: 1rem; font-size: 1.75rem; }
.profile-username { color: var(--text-muted); margin-bottom: 1rem; }
.profile-bio { color: var(--text-muted); max-width: 500px; margin-bottom: 1.5rem; }
.profile-stats { display: flex; gap: 2rem; margin-bottom: 1.5rem; }
.stat { text-align: center; }
.stat-value { display: block; font-size: 1.25rem; font-weight: 700; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.profile-actions { display: flex; gap: 0.75rem; margin-bottom: 2rem; }
.btn-large { padding: 0.875rem 1.5rem; font-size: 1rem; }
.tier-badge { position: absolute; top: -10px; right: 1rem; background: var(--secondary); color: white; padding: 0.25rem 0.75rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.tier-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1rem; }
.tier-card h4 { margin-bottom: 0.5rem; }
.tier-price { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.tier-price span { font-size: 0.875rem; font-weight: 400; color: var(--text-muted); }
.tier-perks { list-style: none; margin-bottom: 1.5rem; }
.tier-perks li { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0; color: var(--text-muted); font-size: 0.9rem; }
.tier-perks li i { color: var(--success); }
.profile-content h3 { margin-bottom: 1rem; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.content-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.content-item.locked { opacity: 0.7; }
.content-thumb { aspect-ratio: 1; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--text-muted); }
.content-item p { padding: 0.75rem; font-size: 0.875rem; color: var(--text-muted); }
@media (max-width: 768px) { .content-grid { grid-template-columns: repeat(2, 1fr); } }

/* Fee Disclosure (§9.3.8.2) */
.story-pricing-disclosure {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.story-pricing-disclosure .story-card-price {
    margin-bottom: 0.25rem;
}

.creator-fee-disclosure {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.creator-fee-disclosure i {
    color: var(--secondary);
}

/* Block Button States (§9.3.8.2) */
#block-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

#block-btn:hover {
    background: var(--error);
    border-color: var(--error);
    color: white;
}

#block-btn.btn-blocked {
    background: var(--error);
    border-color: var(--error);
    color: white;
    width: auto;
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
}

#block-btn.btn-blocked:hover {
    background: var(--bg-hover);
    border-color: var(--border);
    color: var(--text);
}

/* Stories Grid for Creator Profile */
.profile-content .stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.profile-content .stories-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.profile-content .stories-empty i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ============================================================================
   Content Safety UX (§9.11)
   ============================================================================ */

/* Actions Dropdown (§9.11.4.2) */
.profile-actions-dropdown {
    position: relative;
}

.actions-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 100;
    overflow: hidden;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: var(--bg-hover);
}

.dropdown-item i {
    width: 16px;
    color: var(--text-muted);
}

.dropdown-item-danger {
    color: var(--error);
}

.dropdown-item-danger i {
    color: var(--error);
}

.dropdown-item-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Modal Styles (§9.11.3, §9.11.4.3) */
/* Base modal styles now in main.css */

.icon-success {
    color: var(--success);
}

/* Report Modal (§9.11.3.2) */
.report-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.report-reasons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    max-height: 240px;
    overflow-y: auto;
}

.report-reason {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.report-reason:hover {
    border-color: var(--primary);
}

.report-reason.selected {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

.report-reason input {
    display: none;
}

.reason-label {
    font-weight: 500;
}

.reason-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.report-text-group {
    margin-bottom: 1rem;
}

.report-text-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.report-text-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.report-text-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.char-hint {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.report-ticket-id {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: monospace;
    background: var(--bg);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
}

/* Toast Notifications (§9.11.4.4) */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    border-color: var(--success);
}

.toast-success i {
    color: var(--success);
}

.toast-error {
    border-color: var(--error);
}

.toast-error i {
    color: var(--error);
}

.toast-warning {
    border-color: var(--warning);
}

.toast-warning i {
    color: var(--warning);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: var(--bg);
    border-color: var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--bg-hover);
}

.btn-danger {
    background: var(--error);
    color: white;
}

.btn-danger:hover {
    opacity: 0.9;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        margin: 0.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
    
    .toast-container {
        bottom: 1rem;
        width: 90%;
    }
}
