/* ZMS CMS - 버튼 공통 스타일 */

.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* 드롭다운 토글 */
.dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* 액션 버튼 */
.action-buttons .btn {
    white-space: nowrap;
}

/* 모바일 뒤로가기 버튼 */
.mobile-back-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(33, 37, 41, 0.7);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1040;
    transition: opacity 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
}

.mobile-back-button:active {
    transform: scale(0.95);
}

.mobile-back-button i {
    font-size: 20px;
}

/* 데스크탑에서는 항상 숨김 */
@media (min-width: 769px) {
    .mobile-back-button {
        display: none !important;
    }
}
