/* SocialBD - Dark WAP Style Theme matching fortibd.com / SocialBD.Net */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000000;
    color: #CCCCCC;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
}

a {
    color: #FFCC66;
    text-decoration: none;
}
a:hover { color: #FFFFCC; }
a:visited { color: #FFB720; }

/* Header */
.amithead {
    padding: 12px 8px;
    background: linear-gradient(to left, #bc4e9c, #562d7b) !important;
    border-bottom: 3px solid #C7D3EA;
    color: #000000;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.amitfooter {
    padding: 12px 8px;
    background: linear-gradient(to left, #008c8f, #562d7b) !important;
    border-bottom: 3px solid #C7D3EA;
    color: #000000;
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
}

/* Brand bar / Top nav icons */
.brand-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #111;
    padding: 6px 4px;
    border-bottom: 1px solid #333;
}
.brand-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #FFCC66;
}
.brand-bar img {
    width: 32px;
    height: 32px;
    margin-bottom: 2px;
}

/* Cards */
.card, .mblock1, .mblock2, .glass-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px;
    margin: 8px 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.mblock1 { background: #0d0d0d; }
.mblock2 { background: #151515; }

.glass-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid #334155;
    backdrop-filter: blur(4px);
}

/* Buttons */
.btn, .btnnew, input[type="submit"], button {
    background: linear-gradient(to bottom, #562d7b, #3a1d52);
    color: #fff;
    border: 1px solid #bc4e9c;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    margin: 3px;
}
.btn:hover, .btnnew:hover {
    background: linear-gradient(to bottom, #6b3a96, #4a2568);
}

.btn-primary {
    background: linear-gradient(to bottom, #008c8f, #006668);
    border-color: #00b4b8;
}

.btn-danger {
    background: linear-gradient(to bottom, #b91c1c, #7f1d1d);
    border-color: #ef4444;
}

/* Forms */
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 8px 10px;
    margin: 5px 0;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 5px;
    color: #eee;
    font-size: 14px;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #bc4e9c;
}

/* Shout box */
.shout-box {
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px;
    margin: 8px 6px;
}
.shout-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.shout-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #562d7b;
}
.shout-user {
    font-weight: bold;
    color: #FFCC66;
}
.shout-time {
    font-size: 11px;
    color: #888;
}
.shout-content {
    margin: 6px 0;
    word-wrap: break-word;
}
.shout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
}
.reaction-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 3px 8px;
    border-radius: 12px;
    color: #ccc;
    font-size: 11px;
}
.reaction-btn:hover {
    background: #2a2a2a;
    border-color: #bc4e9c;
}

/* Menu sections (collapsible like original) */
.menu-section {
    margin: 6px;
}
.menu-title {
    background: linear-gradient(to right, #562d7b, #bc4e9c);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-content {
    display: none;
    padding: 8px 12px;
    background: #111;
    border: 1px solid #333;
    border-top: none;
    border-radius: 0 0 6px 6px;
}
.menu-content a {
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid #222;
}
.menu-content a:last-child {
    border-bottom: none;
}

/* Profile */
.profile-header {
    text-align: center;
    padding: 15px;
}
.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #bc4e9c;
    object-fit: cover;
}
.profile-stats {
    display: flex;
    justify-content: space-around;
    margin: 10px 0;
    font-size: 12px;
}
.stat-box {
    text-align: center;
}
.stat-num {
    font-size: 18px;
    font-weight: bold;
    color: #22d3ee;
}

/* Online indicator */
.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 4px;
}
.offline-dot {
    background: #6b7280;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
}
th, td {
    padding: 6px 8px;
    border: 1px solid #333;
    text-align: left;
}
th {
    background: #1a1a1a;
    color: #FFCC66;
}

/* Floating Tasbeeh */
#floating-tasbeeh-container {
    position: fixed;
    bottom: 80px;
    right: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#floating-tasbeeh-container.minimized {
    transform: translateX(85px);
}
#tasbeeh-slider-tab {
    background: #0f172a;
    color: #22d3ee;
    border: 2px solid #22d3ee;
    border-right: none;
    padding: 12px 6px;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
}
.zikir-float-body {
    background: #0f172a;
    padding: 10px;
    border-radius: 20px 0 0 20px;
    border: 2px solid #22d3ee;
    border-right: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
}
#tasbeeh-fab-circle {
    width: 50px;
    height: 50px;
    background: #1e293b;
    border: 2px solid #22d3ee;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
#float-count-num {
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}
#float-target-sub {
    color: #22d3ee;
    font-size: 7px;
    font-weight: bold;
}

/* Utility */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-5 { margin-top: 5px; }
.mt-10 { margin-top: 10px; }
.mb-5 { margin-bottom: 5px; }
.p-10 { padding: 10px; }
.small { font-size: 11px; color: #888; }
.badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    background: #562d7b;
    color: #fff;
}
.badge-premium { background: #f59e0b; color: #000; }
.badge-online { background: #22c55e; }

/* Responsive */
@media (max-width: 360px) {
    body { font-size: 13px; }
    .brand-bar img { width: 28px; height: 28px; }
}
