:root {
    --gl-primary: #4361ee;
    --gl-primary-light: #e8ecff;
    --gl-text: #2b2d42;
    --gl-text-muted: #8d99ae;
    --gl-bg: #f8f9fa;
    --gl-card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --gl-card-hover-shadow: 0 8px 24px rgba(67, 97, 238, 0.15);
}

body {
    background-color: var(--gl-bg);
    color: var(--gl-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Group Logo */
.group-logo-wrapper {
    display: inline-block;
}

.group-logo {
    max-width: 200px;
    max-height: 120px;
    object-fit: contain;
    border-radius: 12px;
}

.group-logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--gl-primary), #7209b7);
    color: white;
}

.placeholder-initial {
    font-size: 2.5rem;
    font-weight: 700;
}

.group-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gl-text);
}

/* Room List */
.room-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.room-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: var(--gl-card-shadow);
    cursor: pointer;
}

.room-item:hover {
    transform: translateX(4px);
    box-shadow: var(--gl-card-hover-shadow);
}

.room-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: var(--gl-primary-light);
    color: var(--gl-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.room-info {
    flex: 1;
    min-width: 0;
}

.room-name {
    color: var(--gl-text);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0;
}

.room-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.room-action {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 576px) {
    .group-title {
        font-size: 1.5rem;
    }
    .group-logo {
        max-width: 150px;
        max-height: 90px;
    }
    .group-logo-placeholder {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }
    .placeholder-initial {
        font-size: 2rem;
    }
    .room-item {
        padding: 12px 14px;
        gap: 12px;
    }
    .room-action {
        display: none;
    }
}
