/* account.css - MOBİL TEPKİSEL TASARIM - FINAL (OPTİMİZE EDİLMİŞ) */

/* ===== ORTAK ELEMENTLER & BUTON SIFIRLAMALARI ===== */
.stat, .tab-btn, .switch-auth, .account-stat, .account-btn, 
.edit-profile-btn, .cancel-btn, .setting-item, .action-btn, 
.upload-btn-label, .remove-pic-btn, .password-toggle-btn, .delete-post-btn-account {
    cursor: pointer; transition: all 0.2s ease;
}

.account-btn, .action-btn, .switch-auth, .upload-btn-label {
    display: flex; align-items: center; justify-content: center;
}

/* Aktif (Tıklama) Efektleri - Tüm Cihazlar İçin */
.stat:active, .switch-auth:active, .account-stat:active, 
.account-btn:active, .edit-profile-btn:active, .cancel-btn:active, 
.setting-item:active, .action-btn:active, .upload-btn-label:active {
    transform: scale(0.96);
}
.stat:active, .account-stat:active, .account-btn.secondary:active, 
.edit-profile-btn:active, .cancel-btn:active, .setting-item:active, 
.action-btn.secondary:active {
    background-color: var(--touch-overlay);
}

/* ===== GENEL PROFİL VE HEADER YAPISI ===== */
.profile-header { 
    display: flex; align-items: center; gap: 25px; margin-bottom: 35px; padding: 25px; 
    background: linear-gradient(135deg, var(--surface) 0%, rgba(0, 149, 246, 0.05) 100%); 
    border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); 
}

.profile-avatar .user-avatar.large { 
    width: 90px; height: 90px; border-radius: 50%; border: 3px solid var(--primary); 
    box-shadow: 0 8px 25px rgba(0, 149, 246, 0.3); transition: all 0.2s ease; 
}
.profile-avatar .user-avatar.large:active { transform: scale(0.95); opacity: 0.9; }

.profile-info { flex: 1; }
.profile-info h2 { 
    font-size: 26px; font-weight: 700; margin-bottom: 8px; color: var(--text); 
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%); 
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; 
}

.profile-stats { display: flex; gap: 25px; margin-bottom: 15px; }
.stat { 
    display: flex; flex-direction: column; align-items: center; padding: 12px 20px; 
    background: var(--surface); border-radius: 12px; border: 1px solid var(--border); 
    min-width: 80px; 
}
.stat .count { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.stat .label { font-size: 12px; color: var(--text-light); font-weight: 600; }

.profile-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 25px; background: var(--surface); border-radius: 12px 12px 0 0; padding: 0 10px; }
.tab-btn { 
    flex: 1; padding: 16px; background: none; border: none; font-size: 14px; 
    font-weight: 600; color: var(--text-light); position: relative; border-radius: 8px 8px 0 0; 
}
.tab-btn:active { background-color: rgba(0, 149, 246, 0.15); }
.tab-btn.active { color: var(--primary); font-weight: 700; }
.tab-btn.active::after { 
    content: ''; position: absolute; bottom: -1px; left: 10%; width: 80%; height: 3px; 
    background: linear-gradient(90deg, var(--primary), #0081d6); border-radius: 2px; 
}
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--border); border-radius: 0 0 12px 12px; overflow: hidden; }

/* ===== AUTH FORMS ===== */
.auth-forms { max-width: 1000px; margin: 0 auto; transition: max-width 0.3s ease; min-height: 400px; position: relative; }
.auth-form { 
    display: none !important; max-width: 450px; margin: 0 auto; background: var(--surface); 
    border-radius: 20px; padding: 35px; box-shadow: var(--shadow-strong); border: 1px solid var(--border); 
    backdrop-filter: blur(10px); opacity: 0; transform: translateY(30px) scale(0.95); 
}
.auth-form.visible-flex { display: block !important; animation: slideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }

.auth-loading { 
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    height: 300px; color: var(--primary); width: 100%; position: absolute; top: 0; left: 0; 
    z-index: 10; animation: fadeIn 0.3s ease; 
}
.auth-loading i { font-size: 40px; margin-bottom: 15px; animation: spin 1s linear infinite; }
.auth-loading p { color: var(--text-light); font-size: 14px; font-weight: 500; }

.auth-switch { 
    text-align: center; margin-top: 25px; padding: 20px; border-top: 1px solid var(--border); 
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0, 149, 246, 0.1) 100%); 
    border-radius: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; 
}
.switch-auth { 
    color: var(--primary); font-weight: 700; padding: 10px 20px; border-radius: 10px; 
    background: var(--surface); border: 2px solid var(--primary); 
}
.switch-auth:active { background: var(--primary); color: white; }

/* ===== HESAP DETAYLARI ===== */
.account-info { 
    display: none !important; background: var(--surface); border-radius: 24px; padding: 0; 
    box-shadow: var(--shadow-strong); border: 1px solid var(--border); overflow: hidden; width: 100%; 
}
.account-info.visible-block { display: block !important; animation: slideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }

.account-header { 
    display: flex; align-items: center; gap: 20px; padding: 15px 25px; position: relative; 
    background: linear-gradient(135deg, var(--primary) 0%, #0077cc 100%); color: white; 
}
.account-header .user-avatar.large { width: 65px; height: 65px; border: 2px solid rgba(255,255,255,0.8); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.account-header::before { 
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; 
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><circle cx="20" cy="20" r="3" fill="white"/><circle cx="80" cy="40" r="2" fill="white"/><circle cx="60" cy="80" r="4" fill="white"/></svg>'); 
}
.account-details h3 { font-size: 22px; font-weight: 700; color: white; margin-bottom: 2px; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
.account-details p { color: rgba(255, 255, 255, 0.9); margin-bottom: 2px; display: flex; align-items: center; gap: 8px; font-size: 13px; }

.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); margin: 0; padding: 0; }
.account-stat { 
    display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 5px; 
    background: var(--surface); position: relative; overflow: hidden; 
}
.account-stat::before { 
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; 
    background: linear-gradient(90deg, transparent, rgba(0, 149, 246, 0.1), transparent); transition: left 0.6s ease; 
}

.account-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; background: var(--surface); }
.account-btn { 
    gap: 8px; padding: 12px; border: none; border-radius: 12px; font-size: 13px; 
    font-weight: 700; position: relative; overflow: hidden; 
}
.account-btn::before, .action-btn::before { 
    content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; 
    background: rgba(255, 255, 255, 0.2); border-radius: 50%; transition: all 0.3s ease; transform: translate(-50%, -50%); 
}

/* Buton Varyasyonları */
.account-btn.primary, .action-btn.primary { background: linear-gradient(135deg, var(--primary) 0%, #0081d6 100%); color: white; box-shadow: 0 4px 15px rgba(0, 149, 246, 0.4); }
.account-btn.secondary, .action-btn.secondary { background: var(--surface); color: var(--text); border: 2px solid var(--border); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.account-btn.warning { background: transparent; color: #ffa502; border: 2px solid #ffa502; }
.account-btn.danger, .action-btn.danger { background: transparent; color: #ff4757; border: 2px solid #ff4757; }

/* Aktif Durumlar (Renkler) */
.account-btn.warning:active { background: #ffa502; color: white; }
.account-btn.danger:active, .action-btn.danger:active { background: #ff4757; color: white; }

.edit-profile-btn, .cancel-btn { 
    padding: 12px 24px; background: transparent; border: 2px solid var(--border); 
    border-radius: 10px; color: var(--text); font-weight: 600; 
}
.form-actions { display: flex; gap: 15px; margin-top: 25px; }
.cancel-btn { flex: 1; padding: 14px 24px; }

.settings-list { display: flex; flex-direction: column; gap: 10px; }
.setting-item { display: flex; align-items: center; padding: 18px; border-radius: 15px; border: 1px solid transparent; }
.setting-item i:first-child { width: 24px; margin-right: 16px; color: var(--primary); font-size: 18px; }
.setting-item span { flex: 1; font-size: 16px; font-weight: 600; color: var(--text); }

/* Switch Toggle */
.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--border); transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }
input:checked + .slider { background: linear-gradient(135deg, var(--primary) 0%, #0081d6 100%); }
input:checked + .slider:before { transform: translateX(24px); }

/* ===== DÜZENLEME FORMLARI & INPUTLAR ===== */
.edit-account-form { max-width: 450px; margin: 0 auto; }
.form-row { display: flex; gap: 15px; }
.form-row .form-group { flex: 1; }
.password-toggle { position: relative; display: flex; flex-direction: column; }
.password-toggle input { padding-right: 45px !important; }
.password-toggle-btn { 
    position: absolute; right: 5px; bottom: 5px; height: 35px; width: 35px; background: none; 
    border: none; color: var(--text-light); z-index: 10; display: flex; align-items: center; justify-content: center; 
}
.form-group.password-toggle label + input + .password-toggle-btn { bottom: 2px; }

.birthdate-inputs { display: flex; gap: 10px; margin-top: 8px; }
.birthdate-inputs select, #register-gender { 
    width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; 
    background-color: var(--surface); color: var(--text); font-size: 14px; cursor: pointer; appearance: none; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238e8e8e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); 
    background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; 
}
.birthdate-inputs select { flex: 1; }
.birthdate-inputs select:focus, #register-gender:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(0, 149, 246, 0.1); }
#register-gender { margin-top: 8px; }
.age-warning { 
    display: none; align-items: center; gap: 10px; padding: 12px 16px; 
    background-color: rgba(255, 193, 7, 0.1); border: 1px solid rgba(255, 193, 7, 0.3); 
    border-radius: 8px; margin-bottom: 16px; color: #ffc107; font-size: 14px; font-weight: 500; 
}

/* Avatar Düzenleme */
.edit-profile-image-section { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.edit-avatar-preview { 
    width: 120px; height: 120px; border-radius: 50%; background-color: var(--background); 
    border: 3px solid var(--primary); background-size: cover; background-position: center; 
    background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; 
    overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}
.edit-avatar-preview i { font-size: 50px; color: var(--text-light); opacity: 0.5; }
.edit-avatar-actions { display: flex; align-items: center; gap: 15px; }
.upload-btn-label { 
    gap: 8px; color: var(--primary); font-weight: 600; font-size: 14px; 
    padding: 10px 20px; background: rgba(0, 149, 246, 0.1); border-radius: 12px; 
}
.upload-btn-label:active { background: rgba(0, 149, 246, 0.2); }
.remove-pic-btn { color: #ff4757; background: none; border: none; font-size: 13px; font-weight: 600; padding: 8px; }
.remove-pic-btn:active { transform: scale(0.95); }

/* ===== HESAP GÖNDERİ YÖNETİMİ ===== */
.account-posts-section { margin-top: 0; padding: 25px; border-top: 1px solid var(--border); background: var(--surface); }
.section-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; width: 4px; height: 20px; background: linear-gradient(135deg, var(--primary) 0%, #0081d6 100%); border-radius: 2px; }
.post-management-actions { display: flex; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; }
.action-btn { gap: 10px; padding: 14px 22px; border: none; border-radius: 12px; font-size: 14px; font-weight: 700; position: relative; overflow: hidden; }

.account-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 15px; margin-top: 20px; }
.account-posts-grid::-webkit-scrollbar { width: 6px; }
.account-posts-grid::-webkit-scrollbar-track { background: var(--background); border-radius: 3px; }
.account-posts-grid::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
.account-posts-grid::-webkit-scrollbar-thumb:hover { background: #0081d6; }

.account-post-item { 
    position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; 
    cursor: pointer; background: var(--background); border: 2px solid var(--border); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: all 0.2s ease;
}
.account-post-item:active { transform: scale(0.96); opacity: 0.8; }

.account-post-image { width: 100%; height: 100%; background-size: cover; background-position: center; transition: all 0.4s ease; }
.no-image-bg { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; padding: 15px; text-align: center; }
.account-post-overlay { 
    position: absolute; bottom: 0; left: 0; right: 0; top: auto; height: auto; 
    padding: 20px 10px 10px 10px; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); 
    display: flex; align-items: flex-end; justify-content: center; opacity: 1; z-index: 2; 
}
.account-post-stats { display: flex; gap: 15px; color: white; text-shadow: 0 1px 3px rgba(0,0,0,0.5); font-weight: 700; }
.stat-item { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.stat-item i { font-size: 16px; }

.delete-post-btn-account { 
    position: absolute; top: 8px; right: 8px; background: rgba(255, 71, 87, 0.9); 
    color: white; border: none; width: 36px; height: 36px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; z-index: 10; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); font-size: 14px; 
}
.delete-post-btn-account:active { transform: scale(0.9); background: #ff4757; }

.empty-account-posts { grid-column: 1 / -1; text-align: center; padding: 60px 30px; color: var(--text-light); }
.empty-account-posts i { font-size: 64px; margin-bottom: 20px; opacity: 0.5; color: var(--primary); }
.empty-account-posts h4 { margin-bottom: 12px; font-weight: 700; font-size: 20px; color: var(--text); }
.empty-account-posts p { font-size: 15px; line-height: 1.5; }

/* ===== DISCUSSION MODAL & ERROR ===== */
#discussion-modal .discussion-modal-content { display: flex; flex-direction: column; height: 85vh; max-height: 85vh; width: 95%; max-width: 500px; padding: 0; overflow: hidden; border-radius: 15px; }
#discussion-modal .modal-header { flex-shrink: 0; z-index: 2; background: var(--surface); }
#discussion-modal .discussion-image-container { flex-shrink: 0; max-height: 30vh; background: #000; display: flex; align-items: center; justify-content: center; }
#discussion-modal .discussion-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; position: relative; min-height: 0; }
#discussion-modal .post-caption { flex-shrink: 0; padding: 10px 15px; border-bottom: 1px solid var(--border); max-height: 80px; overflow-y: auto; }
#discussion-modal .comments-section { flex-grow: 1; overflow-y: auto; padding: 10px; scroll-behavior: smooth; background: var(--surface); }
#discussion-modal .comments-list { padding-bottom: 10px; }
#discussion-modal .add-comment { flex-shrink: 0; padding: 10px 15px; background: var(--surface); border-top: 1px solid var(--border); position: relative; z-index: 10; margin-top: auto; }

.error-message { 
    background-color: rgba(255, 71, 87, 0.1); border: 1px solid rgba(255, 71, 87, 0.3); 
    color: #ff4757; padding: 12px; border-radius: 8px; margin-bottom: 15px; font-size: 14px; 
    font-weight: 500; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; 
}
.error-message::before { content: '\f071'; font-family: "Font Awesome 5 Free"; font-weight: 900; }
.forgot-password-container { margin-top: 12px; text-align: right; margin-bottom: 10px; }
.forgot-password-link { color: var(--text-light); font-size: 13px; cursor: pointer; font-weight: 600; transition: all 0.3s ease; }
.error-shake { animation: shake 0.4s ease-in-out; }
.user-avatar { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* ===== ANIMASYONLAR ===== */
@keyframes slideUp { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-5px); border-color: #ff4757; } 40%, 80% { transform: translateX(5px); } }

/* ===== KARANLIK MOD (DARK THEME) ===== */
[data-theme="dark"] .auth-form { background: rgba(30, 30, 30, 0.95); backdrop-filter: blur(20px); }
[data-theme="dark"] .account-stat:hover { background: rgba(0, 149, 246, 0.15); }
[data-theme="dark"] .account-post-item { border-color: #333; }
[data-theme="dark"] .account-post-item:hover { border-color: var(--primary); }
[data-theme="dark"] .birthdate-inputs select, [data-theme="dark"] #register-gender { background-color: rgba(30, 30, 30, 0.8); border-color: #444; color: var(--text); }
[data-theme="dark"] .birthdate-inputs select:focus, [data-theme="dark"] #register-gender:focus { border-color: var(--primary); background-color: rgba(30, 30, 30, 0.9); }

/* ===== HOVER EFEKTLERİ (SADECE DESTEKLEYEN CİHAZLAR) ===== */
@media (hover: hover) {
    .profile-avatar .user-avatar.large:hover { transform: scale(1.05); box-shadow: 0 12px 35px rgba(0, 149, 246, 0.4); }
    .stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--primary); }
    .tab-btn:hover { color: var(--primary); background: rgba(0, 149, 246, 0.05); }
    .switch-auth:hover { background: var(--primary); color: white; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 149, 246, 0.4); }
    .account-stat:hover::before { left: 100%; } 
    .account-stat:hover { background: var(--primary-light); transform: translateY(-2px); } 
    .account-stat:hover .count { animation: pulse 0.6s ease; }
    .account-btn.primary:hover, .action-btn.primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 149, 246, 0.6); }
    .account-btn.secondary:hover, .action-btn.secondary:hover { background: var(--primary-light); border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 149, 246, 0.2); }
    .account-btn.warning:hover { background: #ffa502; color: white; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 165, 2, 0.4); }
    .account-btn.danger:hover, .action-btn.danger:hover { background: #ff4757; color: white; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4); }
    .account-btn:hover::before, .action-btn:hover::before { width: 300px; height: 300px; }
    .edit-profile-btn:hover, .cancel-btn:hover { background: var(--primary-light); border-color: var(--primary); transform: translateY(-2px); }
    .setting-item:hover { background: var(--primary-light); border-color: var(--primary); }
    .password-toggle-btn:hover { color: var(--primary); }
    .birthdate-inputs select:hover, #register-gender:hover { border-color: var(--primary); }
    .account-post-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 149, 246, 0.3); border-color: var(--primary); } 
    .account-post-item:hover .account-post-image { transform: scale(1.05); }
    .delete-post-btn-account:hover { background: #ff4757; transform: scale(1.15); box-shadow: 0 0 12px rgba(255, 71, 87, 0.6); }
    .forgot-password-link:hover { color: var(--primary); text-decoration: underline; }
    .upload-btn-label:hover { background: rgba(0, 149, 246, 0.2); transform: translateY(-2px); }
    .remove-pic-btn:hover { color: #d63031; text-decoration: underline; }
}

/* ===== MOBİL UYUMLULUK VE LAYOUT (BİRLEŞTİRİLMİŞ) ===== */
@media (max-width: 768px) {
    /* Profil & Header */
    .profile-header, .account-header { flex-direction: column; text-align: center; gap: 15px; padding: 20px 15px; }
    .profile-info h2 { font-size: 24px; }
    
    /* Stats & Grid */
    .account-stats { grid-template-columns: repeat(3, 1fr) !important; gap: 2px; }
    .account-stat { padding: 8px 2px; min-width: auto; }
    .account-stat i { font-size: 18px; margin-bottom: 4px; }
    .account-stat strong { font-size: 14px; }
    .account-stat span { font-size: 10px; white-space: nowrap; }
    
    /* Actions & Forms */
    .account-actions { grid-template-columns: 1fr; padding: 20px 15px; }
    .post-management-actions { flex-direction: column; } 
    .action-btn { justify-content: center; }
    .form-row { flex-direction: column; gap: 0; } 
    .auth-form { padding: 25px 20px; max-width: 100%; }
    .birthdate-inputs { flex-direction: column; gap: 8px; } 
    .birthdate-inputs select { width: 100%; }

    /* Post Grid - Mobil */
    .account-posts-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
    .account-post-item { border-radius: 4px; box-shadow: none !important; }
    /* Mobilde hover iptali */
    .account-post-item:hover, .account-post-item:focus { transform: none !important; }
    .account-post-item:hover .account-post-image { transform: none !important; }
    
    .stat-item { font-size: 11px; gap: 3px; }
    .stat-item i { font-size: 12px; }
    .account-post-overlay { padding: 15px 5px 5px 5px; }
    .delete-post-btn-account { width: 24px; height: 24px; top: 4px; right: 4px; font-size: 11px; }
}

@media (max-width: 480px) {
    .account-posts-grid { grid-template-columns: repeat(2, 1fr); }
    .account-post-stats { gap: 10px; flex-direction: column; }
    .account-post-stats .stat { font-size: 11px; padding: 4px 8px; }
    .section-title { font-size: 18px; } 
    .account-btn { padding: 10px; font-size: 12px; }
    .profile-stats { gap: 10px; justify-content: center; } 
    .stat { min-width: 70px; padding: 10px 15px; }
}
