.overlay-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 800;
    padding: 20px;
}

.overlay-box {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 28px 26px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.overlay-box h2 {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.overlay-desc {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 18px;
}

.overlay-box .text-field {
    margin-bottom: 12px;
}

.field-label {
    display: block;
    text-align: left;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 4px;
    margin-top: 10px;
    font-weight: 600;
}

.check-row {
    display: flex;
    gap: 16px;
    margin: 14px 0;
    justify-content: center;
}

.ck {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
}

.ck input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4a9;
    cursor: pointer;
}

.btn-pair {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    justify-content: center;
}

.btn-pair .btn-pink, .btn-pair .btn-blue {
    flex: 1;
    padding: 10px 0;
}

.overlay-snake-icon {
    margin-bottom: 10px;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 18px;
    border-bottom: 1px solid #ececec;
}

.auth-tab {
    flex: 1;
    padding: 10px 0;
    border: none;
    background: none;
    font-size: 0.92rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.auth-tab.active {
    color: #4a9;
    border-bottom-color: #4a9;
}

.auth-error {
    color: #e74c3c;
    font-size: 0.8rem;
    min-height: 20px;
    margin-bottom: 8px;
}

.user-badge {
    position: fixed;
    top: 14px;
    right: 145px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 50px;
    padding: 7px 12px;
    font-size: 0.78rem;
    color: #4a9;
    font-weight: 600;
    z-index: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.logout-btn {
    position: fixed;
    top: 14px;
    right: 95px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ececec;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 600;
    color: #666;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.logout-btn:hover {
    color: #e74c3c;
    border-color: #e74c3c;
}

.admin-link {
    position: fixed;
    top: 14px;
    right: 55px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ececec;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 600;
    color: #666;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.admin-link:hover {
    color: #4a9;
    border-color: #4a9;
}
