/* style.css - NİHAİ TAM SÜRÜM (ESTETİK VE FONKSİYONEL) */

/* --- GENEL AYARLAR --- */
body {
    font-family: 'Nunito', sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

#app-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.page {
    width: 100%;
    height: 100%;
}

/* --- GİRİŞ SAYFASI --- */
#page-login {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
}
.login-card {
    width: 100%;
    max-width: 400px;
}
.login-card .nav-link {
    color: rgba(255, 255, 255, 0.7);
    border-radius: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.login-card .nav-link.active {
    color: #fff;
    background-color: #0d6efd;
    border-bottom: 3px solid #fff;
}

/* --- SOHBET ODASI --- */
#content-wrapper {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#speakers-container {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
}
#chat-flow {
    mask-image: linear-gradient(to top, black 75%, transparent 95%);
    -webkit-mask-image: linear-gradient(to top, black 75%, transparent 95%);
}
.mic-slot {
    width: 64px;
    height: 64px;
    position: relative;
}
.mic-slot.border-dashed {
    border-style: dashed !important;
}
.mic-toggle-btn {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    background-color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.mic-slot.speaking {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.6);
}

/* --- YAN MENÜLER --- */
.side-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 280px;
    max-width: 80%;
    z-index: 1050;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}
#side-menu {
    transform: translateX(-100%);
}
#right-menu {
    right: 0;
    transform: translateX(100%);
}
#side-menu.open, #right-menu.open {
    transform: translateX(0);
}
#menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1049;
}
.menu-toggle-button {
    position: absolute;
    top: 10px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-toggle-button.start-0 {
    left: 10px;
}
.menu-toggle-button.end-0 {
    right: 10px;
}

/* --- ADMİN PANELİ --- */
.admin-subpage {
    width: 100%;
    height: 100%;
}
#admin-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.admin-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.admin-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.admin-card i {
    font-size: 2rem;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

/* --- LİSTE GRUPLARI İÇİN İNCE AYARLAR --- */
.list-group-item {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}

/* Oda Kişileri Rütbe/Durum */
.rank-stars {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #ffc107; /* Yıldız rengi */
}
.user-status-text {
    font-size: 0.75rem;
}

/* --- GENEL YARDIMCI SINIFLAR --- */
.hover-bg-light:hover {
    background-color: var(--bs-light) !important;
}
