/* Header */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-color); /* 흰색 배경 유지 */
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.top-bar__btn { display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; color: var(--text-main); }
.top-bar__logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    height: 16px;
    width: auto;
    display: block;
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 20px; font-weight: 600; font-size: 16px; border: none; border-radius: 12px; cursor: pointer; width: 100%; transition: transform 0.1s, opacity 0.2s; }
.btn--primary { background-color: var(--primary-color); color: #fff; }
.btn--primary:active { transform: scale(0.98); opacity: 0.9; }
.btn--outline { border: 1px solid var(--border-color); background: transparent; color: var(--text-main); }
.btn--outline-danger { border: 1px solid var(--error-color); color: var(--error-color); }
.btn--sm { padding: 8px 12px; font-size: 13px; border-radius: 8px; width: auto; }
.btn--success { background-color: var(--success-color); color: #fff; }

/* Forms */
.form__group { margin-bottom: 24px; }
.form__label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; color: var(--text-sub); }
.form__control { width: 100%; padding: 14px 16px; border: 1px solid var(--border-color); background-color: var(--bg-color); border-radius: 12px; font-size: 15px; outline: none; transition: border-color 0.2s; }
.form__control:focus { border-color: var(--primary-color); }
.form__row { display: flex; gap: 12px; }
.form__row .form__group { flex: 1; }

/* Badges (둥근 형태) */
.badge { display: inline-block; padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 600; }
.badge--waiting { background-color: #EEF2FF; color: #2D63FF; }
.badge--active { background-color: var(--primary-light); color: var(--primary-color); }
.badge--ended { background-color: var(--bg-sub); color: var(--text-sub); }
.badge--canceled { background-color: var(--error-light); color: var(--error-color); }
.badge--role { background-color: #FFF4E5; color: #FF9500; font-size: 11px; padding: 2px 8px; }

/* FAB */
.fab { position: fixed; bottom: 30px; right: calc(50% - 220px); width: 60px; height: 60px; background-color: var(--primary-color); color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 10px 20px rgb(0 0 0 / 50%); z-index: 100; transition: transform 0.2s, opacity 0.3s; }
@media (max-width: 480px) { .fab { right: 20px; } }
.fab:active { transform: scale(0.95); }
.fab--hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* Utility */
.divider--thick { border-bottom: 8px solid var(--bg-sub); }
.icon { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-sub); font-size: 14px; line-height: 1.5; }