﻿
/* App layout */
.app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.app-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.app-left {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    height: 100%;
}

.app-left .sidebars-wrapper {
    flex: 1;
    overflow: hidden;
}

/* Rail — guild icons */
.guild-sidebar {
    width: 68px;
    min-width: 68px;
    background: var(--bg0);
    border-right: 1px solid var(--brd);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 6px;
    flex-shrink: 0;
}


.guild-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg3);
    color: var(--t2);
    text-decoration: none;
    font-family: var(--fd), sans-serif;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(.34, 1.56, .64, 1);
}

.guild-item:hover {
    border-radius: 14px;
    background: var(--acc);
    color: #fff;
}

.guild-item.active {
    border-radius: 14px;
    background: var(--acc);
    color: #fff;
    box-shadow: 0 0 16px var(--accg);
}

.guild-item.active::before {
    content: '';
    position: absolute;
    left: -8px;
    width: 3px;
    height: 32px;
    background: var(--acc);
    border-radius: 0 2px 2px 0;
}

.guild-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: inherit;
    border-radius: inherit;
    font-size: 1.1rem;
}


.guild-item.guild-home {
    background: var(--acc);
    border-radius: 14px;
    color: #fff;
}

.guild-item.guild-add {
    font-size: 22px;
    color: var(--a2);
    background: rgba(0, 229, 160, 0.08);
    border: 1px dashed rgba(0, 229, 160, 0.3);
}

.guild-item.guild-add:hover {
    background: var(--a2);
    color: #0a0b0f;
    border-radius: 14px;
    border-style: solid;
}


.create-guild input {
    width: 44px;
    padding: 6px 8px;
    border: 1px solid var(--brd);
    border-radius: 4px;
    font-size: 0.75rem;
    background: var(--bg3);
    color: var(--t1);
    text-align: center;
}

.create-guild button {
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    background: rgba(0, 229, 160, 0.08);
    color: var(--a2);
    border: 1px dashed rgba(0, 229, 160, 0.3);
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(.34, 1.56, .64, 1);
}

.create-guild button:hover:not(:disabled) {
    background: var(--a2);
    color: #0a0b0f;
    border-radius: 14px;
    border-style: solid;
}

.create-guild button:disabled {
    opacity: 0.5;
}

.guild-divider {
    width: 32px;
    height: 1px;
    background: var(--brd);
    margin: 2px 0;
}