@font-face {
    font-family: 'FitnessSilhouettes';
    src: url('fitnesssilhouettes.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary: #021a11;
    --primary-light: #032b1d;
    --accent: #10b981;
    --accent-hover: #34d399;
    --decline: #f87171;
    --decline-hover: #ef4444;
    --text-primary: #ffffff;
    --text-secondary: #8ba29a;
    --bg-dark: #010a08;
    --card-bg: rgba(6, 26, 20, 0.45);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(16, 185, 129, 0.25);
}

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

html {
    background-color: var(--bg-dark);
}

body {
    font-family: 'Outfit', sans-serif;
    background: radial-gradient(circle at 80% 20%, #032c1e 0%, #010a08 60%, #000201 100%);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Background visual glow orbs */
.background-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.25;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background-color: #03442d;
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background-color: #10b981;
    bottom: -200px;
    left: -200px;
}

/* --- MAIN CONTAINER --- */
.main-container {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-dark);
}

/* --- HEADER --- */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(2, 14, 10, 0.55);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-shrink: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-bg {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.logo-icon-bg.large {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    margin: 0 auto 20px;
}

.vertical-bar {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
}

.logo-text p {
    font-size: 0.6rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 3px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #4ade80;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse 1.5s infinite;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: var(--decline);
    border-color: var(--decline);
    color: white;
}

/* --- APP GRID LAYOUT --- */
.app-grid {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* --- SIDEBAR --- */
.sidebar {
    width: 260px;
    border-right: 1px solid var(--border-color);
    background: rgba(2, 14, 10, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/* --- MIDDLE LIST PANEL --- */
.middle-list-panel {
    width: 320px;
    border-right: 1px solid var(--border-color);
    background: rgba(2, 14, 10, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
}

.middle-list-panel.hidden {
    display: none;
}

.middle-list-panel .chat-back-btn {
    display: none !important;
}

.user-profile-card {
    padding: 16px;
    margin: 14px 14px 4px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-profile-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(16, 185, 129, 0.15);
}

.user-avatar-initials {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #032b1d, #10b981);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.profile-details {
    display: flex;
    flex-direction: column;
}

.profile-details strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.profile-details span {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    margin-top: 2px;
}

/* --- TABS --- */
.nav-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    margin: 10px 12px 14px 12px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar .nav-tabs {
    flex-direction: column;
    border-radius: 14px;
    padding: 6px;
    gap: 4px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 4px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 20px;
}

.sidebar .tab-btn {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    border-radius: 10px;
}

.tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    color: #010e0a;
    background: #10b981;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.search-box-wrapper {
    padding: 12px 14px;
}

.search-box-wrapper input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 18px;
    border-radius: 30px;
    color: white;
    font-family: inherit;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.search-box-wrapper input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
    background: rgba(0, 0, 0, 0.35);
}

.sidebar-list-container {
    flex: 1;
    overflow-y: auto;
}

.tab-content-panel {
    display: flex;
    flex-direction: column;
}

.tab-content-panel.hidden {
    display: none;
}

.empty-list-placeholder {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* --- SIDEBAR CARDS --- */
.contact-item-card, .chat-item-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin: 8px 12px;
    border-radius: 16px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item-card:hover, .chat-item-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(16, 185, 129, 0.15);
    transform: translateY(-1px);
}

.contact-item-card.active, .chat-item-card.active, .group-card.active {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.chat-avatar-text {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #032b1d, #10b981) !important;
    border: 2px solid #10b981 !important;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-row-one {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.item-row-one strong {
    font-size: 0.9rem;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.item-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread-badge {
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.label-tag {
    font-size: 0.6rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
}

/* --- DIALER VIEW --- */
.dialer-wrapper {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dialer-screen {
    width: 100%;
    display: flex;
    align-items: center;
    background: rgba(2, 28, 19, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 6px 16px;
    margin-bottom: 20px;
    transition: all 0.25s ease;
}

.dialer-screen input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 10px 4px;
    letter-spacing: 0.5px;
    text-align: center;
}

.dialer-screen input:focus {
    outline: none;
}

.backspace-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 6px;
}

.dialer-keys {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 250px;
    margin-bottom: 24px;
}

.dial-key {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid var(--border-color);
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    margin: 0 auto;
}

.dial-key:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--accent);
    transform: scale(1.08);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.dial-key:active {
    background: var(--accent);
}

.dial-call-btn {
    width: 100%;
    max-width: 250px;
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.25s ease;
}

.dial-call-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* --- MAIN PANEL --- */
.chat-main-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(2, 14, 10, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.welcome-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.welcome-logo-bg {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
}

.welcome-view h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.welcome-view p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 400px;
    line-height: 1.6;
}

/* --- CHAT ACTIVE VIEW --- */
.chat-active-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.4);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

.chat-header-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.chat-header-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.action-btn.text-action {
    width: auto;
    height: auto;
    min-height: 36px;
    border-radius: 8px;
    padding: 6px 12px;
    white-space: normal;
    text-align: center;
}

.action-btn.call-action {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.25);
    color: var(--accent);
}

.action-btn.call-action:hover {
    background: var(--accent);
    color: white;
}

/* --- MESSAGES CONTAINER --- */
.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-bubble {
    max-width: 65%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    position: relative;
}

.message-bubble.mine {
    align-self: flex-end;
    background: var(--primary-light);
    color: white;
    border-bottom-right-radius: 2px;
}

.message-bubble.other {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-bottom-left-radius: 2px;
}

.message-bubble.system {
    align-self: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    border-radius: 8px;
    max-width: 90%;
    text-align: center;
    font-size: 0.78rem;
    font-style: italic;
    padding: 6px 12px;
    margin: 4px 0;
}

.message-text {
    margin-bottom: 2px;
}

.message-meta {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
    display: block;
}

/* Voice playback styles */
.voice-msg-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.voice-play-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.voice-wave {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

/* --- INPUT AREA --- */
.chat-input-area {
    padding: 14px 20px;
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(2, 14, 10, 0.35);
    backdrop-filter: blur(15px);
}

.chat-input-area input {
    flex: 1;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 30px;
    padding: 12px 20px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.send-message-btn {
    background: var(--accent);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.send-message-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

/* --- AUTH MODAL --- */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-overlay.hidden {
    display: none;
}

.auth-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.auth-logo h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 6px;
}

.auth-logo p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-wrapper svg {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 14px 14px 44px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}

.input-wrapper input:focus {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.05);
}

.auth-submit-btn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    transition: all 0.2s;
}

.auth-submit-btn:hover {
    background: var(--accent-hover);
}

/* --- CALL MODAL --- */
.call-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(15px);
    z-index: 10010;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-modal-overlay.hidden {
    display: none;
}

.call-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px 40px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.call-header-pulse {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-avatar-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary-light);
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
    z-index: 5;
}

.pulse-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.15;
    z-index: 1;
}

.pr-1 {
    animation: ring-pulse 2s infinite;
}

.pr-2 {
    animation: ring-pulse 2s infinite;
    animation-delay: 1s;
}

.call-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.call-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.call-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 40px;
}

.call-actions-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.call-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.call-btn.accept {
    background: var(--accent);
}

.call-btn.accept:hover {
    background: var(--accent-hover);
    transform: scale(1.08);
}

.call-btn.decline {
    background: var(--decline);
}

.call-btn.decline:hover {
    background: var(--decline-hover);
    transform: scale(1.08);
}

.call-btn.mute {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.call-btn.mute:hover {
    background: rgba(255, 255, 255, 0.15);
}

.call-btn.mute.active {
    background: var(--text-secondary);
    color: var(--bg-dark);
}

.call-btn.hidden {
    display: none;
}

/* --- COMMON UTILS --- */
.hidden {
    display: none !important;
}

.loading-spinner-wrapper {
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* --- ANIMATIONS --- */
@keyframes ring-pulse {
    0% { transform: scale(0.8); opacity: 0.3; }
    50% { opacity: 0.15; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* --- PROFILE SIDEBAR (DESKTOP) --- */
.profile-sidebar {
    width: 320px;
    border-left: 1px solid var(--border-color);
    background: rgba(2, 14, 10, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.profile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
}

.profile-sidebar-header h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.close-profile-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-profile-btn:hover {
    color: var(--decline);
}

.profile-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-main-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.profile-avatar-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #032b1d, #10b981) !important;
    color: white;
    font-weight: 700;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #10b981 !important;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.profile-main-info h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.profile-main-info .label-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent);
    margin-bottom: 8px;
    display: inline-block;
}

.profile-main-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.profile-sections {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-section-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
}

.profile-section-card h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.profile-section-card p {
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-top: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    padding-bottom: 4px;
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-val {
    color: var(--text-primary);
    font-weight: 600;
}

.profile-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.profile-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-chat-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: white;
}

.profile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #10b981;
    border: none;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.profile-call-btn:hover {
    background: #34d399;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

/* --- CHAT BACK BUTTON & CHAT SEARCH --- */
.chat-back-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: none; /* Desktop hidden */
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s;
}

.chat-back-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.chat-back-btn svg {
    stroke: var(--text-primary);
}

.chat-search-box {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
    animation: fadeIn 0.2s;
}

.chat-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.85rem;
    outline: none;
}

.close-chat-search-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
}

.close-chat-search-btn:hover {
    color: var(--decline);
}

.chat-typing-indicator {
    font-size: 0.75rem;
    color: var(--accent);
    font-style: italic;
    margin-left: 6px;
    font-weight: 500;
}

.chat-sub-info {
    display: flex;
    align-items: center;
    margin-top: 2px;
}

/* PIN & MUTE BADGES */
.pin-badge, .mute-badge {
    font-size: 0.8rem;
    margin-left: 6px;
    opacity: 0.8;
}

/* --- RESPONSIVE MOBILE OVERRIDES --- */
@media (max-width: 1024px) {
    /* Keep view fixed, no whole-body scrolls */
    body {
        overflow: hidden !important;
    }
    .main-container {
        height: 100vh !important;
        height: 100dvh !important;
        background-color: var(--bg-dark) !important;
    }
    .app-grid {
        position: relative;
        width: 100%;
        height: calc(100vh - 67px);
        height: calc(100dvh - 67px);
        overflow: hidden;
    }
    
    /* Toggle: 3-column responsive navigation on mobile */
    .sidebar {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        transition: transform 0.3s ease;
    }
    
    /* Premium Mobile Services Grid Dashboard */
    .sidebar .nav-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        background: transparent !important;
        border: none !important;
        padding: 16px !important;
        margin: 0 !important;
        overflow-y: auto !important;
    }
    .sidebar .nav-tabs::before {
        content: "COMMUNITY HUB SERVICES / خدمات پورٹل";
        grid-column: span 2;
        color: var(--accent);
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 1.5px;
        text-align: center;
        margin-bottom: 8px;
        margin-top: 4px;
        opacity: 0.85;
    }
    .sidebar .tab-btn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        height: 104px !important;
        background: rgba(16, 185, 129, 0.04) !important;
        border: 1.5px solid rgba(16, 185, 129, 0.15) !important;
        border-radius: 16px !important;
        padding: 12px 6px !important;
        color: #94a3b8 !important;
        font-size: 0.76rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        gap: 4px !important;
        transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1) !important;
    }
    .sidebar .tab-btn svg {
        width: 26px !important;
        height: 26px !important;
        stroke-width: 2.2 !important;
        color: #10b981 !important;
        transition: transform 0.2s ease !important;
    }
    .sidebar .tab-btn:hover, .sidebar .tab-btn:active {
        background: rgba(16, 185, 129, 0.08) !important;
        color: white !important;
        transform: translateY(-2px) !important;
    }
    .sidebar .tab-btn:hover svg {
        transform: scale(1.1) !important;
    }
    .sidebar .tab-btn.active {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%) !important;
        border-color: #10b981 !important;
        color: white !important;
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.3) !important;
    }
    .sidebar .tab-btn.active svg {
        color: #34d399 !important;
        transform: scale(1.15) !important;
    }
    .sidebar .tab-btn .sub-urdu {
        display: block !important;
        font-size: 0.65rem !important;
        color: #a7f3d0 !important;
        font-weight: 500 !important;
        margin-top: 1px !important;
        font-family: 'Noto Sans Arabic', 'Outfit', sans-serif !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        opacity: 0.85;
    }
    .sidebar .tab-btn.active .sub-urdu {
        color: #6ee7b7 !important;
        font-weight: 600 !important;
    }
    .sidebar .tab-btn:last-child:nth-child(odd) {
        grid-column: span 2 !important;
        height: 78px !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .middle-list-panel {
        width: 100% !important;
        height: 100% !important;
        display: none !important;
        background: var(--bg-dark);
        backdrop-filter: none;
    }
    .chat-main-panel {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        display: none !important;
        z-index: 10;
        background: var(--bg-dark);
        backdrop-filter: none;
    }
    
    /* Active view states */
    .app-grid.list-view-active .sidebar {
        display: none !important;
    }
    .app-grid.list-view-active .middle-list-panel {
        display: flex !important;
    }
    
    .app-grid.chat-view-active .sidebar {
        display: none !important;
    }
    .app-grid.chat-view-active .middle-list-panel {
        display: none !important;
    }
    .app-grid.chat-view-active .chat-main-panel {
        display: flex !important;
        flex-direction: column;
    }
    
    .chat-back-btn {
        display: flex !important;
    }
    
    .middle-list-panel .chat-back-btn {
        display: flex !important;
    }
    
    /* Header optimization */
    .top-header {
        padding: 10px 15px;
    }
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    /* Profile overlay on mobile */
    .profile-sidebar {
        position: absolute;
        top: 0;
        right: 0;
        width: 100% !important;
        height: 100% !important;
        z-index: 200;
        background: var(--bg-dark);
    }

    /* Auth card mobile optimization */
    .auth-card {
        padding: 24px 16px;
        margin: 16px;
        border-radius: 16px;
        width: calc(100% - 32px);
    }
    
    .auth-logo p {
        margin-bottom: 20px;
    }

    /* Call modal mobile optimization */
    .call-card {
        padding: 30px 20px;
        margin: 16px;
        width: calc(100% - 32px);
        border-radius: 20px;
    }
    
    .call-header-pulse {
        margin-bottom: 20px;
    }
    
    .call-card h3 {
        margin-bottom: 30px;
    }

    /* Chat bubble widths and padding optimizations */
    .messages-container {
        padding: 12px;
    }
    
    .message-bubble {
        max-width: 85%;
    }
    
    .chat-header {
        padding: 10px 16px;
    }
    
    .chat-input-area {
        padding: 10px 14px;
    }

    /* Walkie-Talkie Modal Floating Close Button & scaling overrides */
    #btnCloseWalkieTalkie {
        position: fixed !important;
        top: 16px !important;
        right: 16px !important;
        bottom: auto !important;
        left: auto !important;
        z-index: 99999 !important;
        background: rgba(239, 68, 68, 0.95) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 50% !important;
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important;
        color: white !important;
        cursor: pointer !important;
    }
    #btnCloseWalkieTalkie span {
        display: none !important;
    }
    #btnCloseWalkieTalkie::before {
        content: "✕" !important;
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        font-family: Arial, sans-serif !important;
    }

    @media (max-height: 640px) {
        .walkie-talkie-frame {
            transform: scale(0.82) !important;
            transform-origin: center center !important;
        }
    }

    @media (max-height: 520px) {
        .walkie-talkie-frame {
            transform: scale(0.7) !important;
            transform-origin: center center !important;
        }
    }
}

/* Directory Select Filters */
.directory-filters {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.dir-filter {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.dir-filter option {
    background: var(--bg-dark);
    color: white;
}

.dir-filter:focus {
    border-color: var(--accent);
}

.directory-list-container {
    flex: 1;
    overflow-y: auto;
}

/* Profile posts list */
.profile-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.profile-post-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    transition: all 0.2s;
}

.profile-post-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(16, 185, 129, 0.2);
}

.profile-post-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.profile-post-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.profile-post-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-post-price {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    margin-top: 2px;
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 380px;
    width: calc(100% - 40px);
}

.toast-card {
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.toast-card.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-content {
    flex-grow: 1;
    min-width: 0;
}

.toast-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-body {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.3;
    word-break: break-word;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 2px;
    opacity: 0.6;
    transition: opacity 0.2s;
    margin-left: 4px;
}

.toast-close:hover {
    opacity: 1;
    color: var(--text-primary);
}

.toast-card.chat { border-left-color: #3b82f6; }
.toast-card.token { border-left-color: #f59e0b; }
.toast-card.order { border-left-color: #10b981; }
.toast-card.rider { border-left-color: #ea580c; }
.toast-card.system { border-left-color: #8b5cf6; }

/* --- COMMUNITY GROUPS STYLING --- */
.group-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.group-card:hover {
    border-color: rgba(16, 185, 129, 0.15);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25), 0 0 15px rgba(16, 185, 129, 0.08);
}

.group-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.group-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.group-card-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.group-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 700;
    margin-top: 4px;
}

/* Pyramid Node Hierarchy Tree */
.pyramid-node {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 12px;
    border-left: 1px dashed rgba(255, 255, 255, 0.15);
    margin-left: 8px;
}

.pyramid-node.root-node {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
}

.pyramid-member-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    width: fit-content;
    min-width: 250px;
}

.pyramid-member-avatar {
    width: 26px;
    height: 26px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: white;
}

.pyramid-member-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pyramid-member-name {
    font-weight: 600;
    color: var(--text-primary);
}

.pyramid-member-phone {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.role-badge {
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.role-badge.admin {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.role-badge.delegate {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.role-badge.member {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Proposals and voting list */
.proposal-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.proposal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.proposal-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.proposal-meta {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.proposal-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.proposal-votes-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(0, 0, 0, 0.15);
    padding: 10px;
    border-radius: 8px;
}

.vote-meter-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vote-meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: bold;
}

.vote-meter-bar-wrapper {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.vote-meter-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.vote-meter-fill.yes {
    background: var(--accent);
}

.vote-meter-fill.no {
    background: var(--decline);
}

.proposal-actions {
    display: flex;
    gap: 8px;
}

.vote-btn {
    flex: 1;
    padding: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
    color: white;
    transition: all 0.2s;
}

.vote-btn:hover {
    background: rgba(255, 255, 255, 0.06);
}

.vote-btn.yes-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.vote-btn.no-btn:hover {
    border-color: var(--decline);
    color: var(--decline);
}

.vote-btn.voted-yes {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: var(--accent);
}

.vote-btn.voted-no {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: var(--decline);
}

.status-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.passed {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Wiki selector styling */
.wiki-page-link {
    padding: 8px 10px;
    font-size: 0.78rem;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid transparent;
}

.wiki-page-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.wiki-page-link.active {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent);
    font-weight: bold;
    border-color: rgba(16, 185, 129, 0.2);
}

/* --- Group Media Post Additions --- */
.action-trigger-btn {
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.65;
}
.action-trigger-btn:hover {
    transform: scale(1.2);
    opacity: 1;
}
.action-trigger-btn.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.message-bubble.promoted-post {
    border: 2px solid #fbbf24 !important;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.09) 0%, rgba(15, 23, 42, 0.7) 100%) !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15);
}

.promoted-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    background: #fbbf24;
    color: #0f172a;
    font-size: 0.58rem;
    font-weight: 850;
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.promoted-link-img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 6px;
    margin-bottom: 4px;
    display: block;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promoted-link-img:hover {
    transform: scale(1.015);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.group-post-img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 6px;
    margin-bottom: 4px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* News Flash Card Styles */
.news-flash-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.news-flash-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.news-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.news-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.news-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
}

.news-snippet {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Phone number input wrapper to match ecosystem standard */
.phone-input-wrapper {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 14px !important;
    height: 50px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s !important;
}

.phone-input-wrapper:focus-within {
    border-color: var(--accent) !important;
}

.phone-input-wrapper .country-code-select {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding-right: 8px !important;
    margin-right: 12px !important;
    border-right: 1px solid var(--border-color) !important;
    outline: none !important;
    cursor: pointer !important;
    height: 100% !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
}

.phone-input-wrapper .country-code-select option {
    background-color: #111827 !important;
    color: white !important;
    font-weight: normal !important;
}

.phone-input-wrapper input {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    height: 100% !important;
    color: white !important;
    font-size: 0.95rem !important;
    outline: none !important;
    box-shadow: none !important;
}

.masked-id-span {
    font-size: 0.72rem !important;
    color: var(--text-secondary) !important;
    font-weight: normal !important;
    margin-left: 4px !important;
    display: inline-block !important;
}

/* --- HELP & GUIDE VIEW --- */
.welcome-help-btn {
    margin-top: 24px;
    padding: 12px 24px;
    border-radius: 12px;
    background: var(--accent);
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.welcome-help-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.help-view-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.help-view-main .chat-header {
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.4);
}

.help-view-main .chat-back-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    margin-right: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.help-view-main .chat-back-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.help-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.help-welcome-section {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.3) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 8px;
}

.help-welcome-section h3 {
    color: #4ade80;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.help-welcome-section p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.help-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    padding: 20px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.help-card:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.15);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25), 0 0 15px rgba(16, 185, 129, 0.08);
}

.header-help-btn:hover {
    background: rgba(16, 185, 129, 0.22) !important;
    border-color: #10b981 !important;
    color: white !important;
}

.help-card-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.help-card h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.help-card p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
}

.help-card ul {
    margin-top: 10px;
    padding-left: 16px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.4;
}

.help-card li {
    margin-bottom: 4px;
}

/* --- GROUP SUB-TABS & SEGMENTS --- */
.group-sub-tabs {
    background: rgba(0, 0, 0, 0.25) !important;
    border-radius: 12px !important;
    padding: 4px !important;
    margin: 10px 16px 14px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    display: flex;
    gap: 6px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
}

.group-sub-tabs::-webkit-scrollbar {
    display: none;
}

.group-sub-tab-btn {
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    background: transparent !important;
    color: var(--text-secondary) !important;
    border: none !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    flex: none !important;
}

.group-sub-tab-btn:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.03) !important;
}

.group-sub-tab-btn.active {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #4ade80 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1) !important;
}

/* --- NEWS FLASH & AUCTIONS GRID DISPLAY STYLES --- */
#newsFlashListContainer .news-flash-card,
#auctionsListContainer .group-card {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 18px !important;
    padding: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    height: auto !important;
    align-items: stretch !important;
    text-align: left !important;
}

#newsFlashListContainer .news-flash-card:hover,
#auctionsListContainer .group-card:hover {
    border-color: rgba(16, 185, 129, 0.3) !important;
    transform: translateY(-2px) !important;
    background: rgba(16, 185, 129, 0.05) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25), 0 0 15px rgba(16, 185, 129, 0.08) !important;
}

#newsFlashListContainer .news-thumbnail {
    width: 100% !important;
    height: 150px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    margin-bottom: 4px !important;
}

#newsFlashListContainer .news-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

#newsFlashListContainer .news-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin: 0 !important;
}

#newsFlashListContainer .news-snippet {
    font-size: 0.78rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
}

/* --- GENERIC MODAL OVERLAY --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* --- WALKIE-TALKIE MODAL STYLING --- */
.wt-ptt-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.wt-ptt-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.5), inset 0 2px 4px rgba(255,255,255,0.3) !important;
}

.wt-ptt-btn.recording {
    background: radial-gradient(circle, #dc2626 0%, #7f1d1d 100%) !important;
    border-color: var(--decline) !important;
    box-shadow: 0 0 35px rgba(239, 68, 68, 0.6), inset 0 2px 4px rgba(255,255,255,0.3) !important;
    animation: wt-pulse-red 1.2s infinite alternate;
}

.wt-ptt-btn:active {
    transform: scale(0.95);
}

@keyframes wt-pulse-red {
    from {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    }
    to {
        box-shadow: 0 0 40px rgba(239, 68, 68, 0.8);
    }
}

/* WIKI-TAKI tab layout button styling */
.wt-launcher-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 100%;
    padding: 30px;
    text-align: center;
}

.wt-launcher-button {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    color: white;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 30px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wt-launcher-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
    border-color: var(--accent);
}

/* Custom premium radio button styles for KotlaTalk PTT overlay */
.wt-options-panel {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 8px 12px !important;
}

.wt-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.wt-option-label-title {
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 0.6rem;
}

.wt-radio-group {
    display: flex;
    gap: 12px;
}

.wt-radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #e2e8f0;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s ease;
}

.wt-radio-label:hover {
    color: var(--accent-hover);
}

.wt-radio-input {
    appearance: none;
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border: 1.5px solid rgba(16, 185, 129, 0.5);
    border-radius: 50%;
    background: transparent;
    outline: none;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    transition: all 0.2s ease;
}

.wt-radio-input::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: scale(0);
    transition: 0.15s transform ease-in-out;
    background-color: var(--accent);
}

.wt-radio-input:checked {
    border-color: var(--accent);
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

.wt-radio-input:checked::before {
    transform: scale(1);
}

/* --- FLOATING RADIO BUTTON REMOVED --- */

/* Google Play Store Badge Button in Login card */
.playstore-badge-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.playstore-badge-btn:hover {
    background: #111111 !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.35), 0 4px 12px rgba(0, 0, 0, 0.6) !important;
    transform: translateY(-2px);
}

.playstore-badge-btn:active {
    transform: translateY(0);
}

/* Responsive Login Screen adjustments for Mobile viewports */
@media (max-width: 768px) {
    .auth-signup-promo {
        display: none !important;
    }
    .demo-radio-widget {
        display: none !important;
    }
    .auth-layout-wrapper {
        gap: 0 !important;
    }
}

/* Startup Interactive Demo Layout Override */
.startup-demo-active .auth-card {
    display: none !important;
}

.startup-demo-active .demo-radio-widget {
    display: flex !important;
    position: relative !important;
    margin: 0 auto !important;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.startup-demo-active .auth-layout-wrapper {
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    flex-direction: column !important;
}

/* INFO VIEW & INSPIRATION STYLES */
.info-view-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info-view-main .chat-header {
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.4);
}

.info-view-main .chat-back-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    margin-right: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.info-view-main .chat-back-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.inspiration-container {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.ins-hero {
    position: relative;
    background: #0f172a;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 6rem;
    min-height: 400px;
}

.ins-hero-overlay {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

.pakistan-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/3/32/Flag-map_of_Pakistan.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    filter: grayscale(1) invert(1);
    z-index: 1;
}

.ins-quote-box h2 {
    font-size: 2.25rem;
    font-style: italic;
    color: white;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.4;
    font-weight: 600;
}

.ins-dates {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.ins-heritage {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    font-weight: 600;
}

.ins-profile-card {
    position: relative;
    margin: 2rem auto -4rem;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5);
    z-index: 10;
    text-align: center;
    width: 220px;
}

.ins-portrait {
    width: 100%;
    aspect-ratio: 1;
    background: #f3f4f6;
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.portrait-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.ins-portrait-info h3 {
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.ins-portrait-info span {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
}

.ins-dedication {
    text-align: center;
    margin-top: 6rem;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.ins-dedication h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.ins-dedication p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.ins-founder strong {
    display: block;
    color: white;
    font-size: 1rem;
}

.ins-founder span {
    color: #3b82f6;
    font-size: 0.875rem;
}

.ins-sections {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.ins-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .ins-row {
        grid-template-columns: 1fr;
    }
}

.ins-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
}

.ins-text-side h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.ins-text-side p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.urdu-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1rem;
}

.urdu-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Noto Sans Arabic', Tahoma, sans-serif;
}

.urdu-card p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-secondary);
    font-family: 'Noto Sans Arabic', Tahoma, sans-serif;
}

/* Responsive styling for Group Wiki-Taki Panel */
@media (max-width: 768px) {
    #group-subtab-wiki {
        flex-direction: column !important;
    }
    #group-subtab-wiki .wiki-sidebar {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color) !important;
        height: auto !important;
    }
}

/* Alphabet Search Bar Styles */
#groupAlphabetBar::-webkit-scrollbar {
    display: none;
}
.alphabet-letter {
    font-size: 0.72rem;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 4px;
    transition: all 0.2s;
    text-align: center;
    user-select: none;
}
.alphabet-letter:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.08);
}
.alphabet-letter.active {
    color: var(--accent) !important;
    background: rgba(16, 185, 129, 0.1) !important;
}

/* --- ADDITIONAL RESPONSIVENESS OVERRIDES --- */
@media (max-width: 768px) {
    /* Hide descriptive text on badges and buttons to fit small screens */
    .header-right .header-status-badge span:not(.pulse-dot) {
        display: none !important;
    }
    .header-right button span {
        display: none !important;
    }
    .header-right {
        gap: 6px !important;
    }
    .logo-text p {
        display: none !important;
    }
    .top-header {
        padding: 8px 12px !important;
    }
    /* Wrap username in a smaller profile icon tag if needed */
    #headerUserBadge {
        padding: 5px 8px !important;
    }
    #headerUserName {
        display: none !important;
    }
}

/* Delete chat button hover and styling overrides */
.delete-chat-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    font-size: 0.82rem;
    display: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    align-items: center;
    justify-content: center;
}
.chat-item-card:hover .delete-chat-btn {
    display: inline-flex !important;
}
.delete-chat-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    transform: scale(1.1);
}
