/* 기본 버튼 스타일 - 고정 너비 */
.company-btn {
    position: relative;
    width: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: white;
}

/* 버튼 크기별 고정 너비 */
.company-btn.btn-sm {
    padding: 8px 16px;
    width: 160px;
    font-size: 13px;
}

.company-btn.btn-lg {
    padding: 16px 32px;
    width: 240px;
}

/* 유동적 너비 옵션 */
.company-btn.btn-flex {
    width: auto;
    min-width: 200px;
}

.company-btn.btn-sm.btn-flex {
    min-width: 160px;
}

.company-btn.btn-lg.btn-flex {
    min-width: 240px;
}

/* 전체 너비 옵션 */
.company-btn.btn-block {
    width: 100%;
}

/* 자동 너비 옵션 (최소 너비 제한 없음) */
.company-btn.btn-auto {
    width: auto;
    min-width: auto;
}

/* 버튼 종류별 스타일 */
.btn-add {
    background: #003698;
    box-shadow: 0 4px 15px rgba(0, 54, 152, 0.3);
}

.btn-edit {
    background: rgba(0, 54, 152, 0.8);
}

.btn-delete {
    background: #dc3545;
}

.btn-move {
    background: #28a745;
}

.btn-modal {
    background: #6c757d;
}

/* 호버 효과를 위한 가상 요소 */
.company-btn::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.2)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.company-btn:not(:disabled):hover::before {
    opacity: 1;
}

/* 버튼 내부 컨텐츠 레이아웃 */
.btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* 아이콘 컨테이너 */
.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* 아이콘 크기 조절 */
.company-btn .material-icons {
    font-size: 18px;
}

.company-btn.btn-sm .icon-container {
    width: 24px;
    height: 24px;
}

.company-btn.btn-sm .material-icons {
    font-size: 16px;
}

.company-btn.btn-lg .icon-container {
    width: 32px;
    height: 32px;
}

.company-btn.btn-lg .material-icons {
    font-size: 20px;
}

/* 버튼 텍스트 */
.btn-label {
    flex-grow: 1;
    text-align: left;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.company-btn.btn-sm .btn-label {
    font-size: 13px;
}

.company-btn.btn-lg .btn-label {
    font-size: 16px;
}

/* 클릭 효과 */
.company-btn:not(:disabled):active {
    transform: scale(0.98);
}

/* 비활성화 상태 */
.company-btn:disabled {
    background: #cccccc !important;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

.company-btn:disabled .icon-container {
    background-color: rgba(255, 255, 255, 0.1);
}

.company-btn:disabled:hover::before {
    opacity: 0;
}

/* 호버 시 아이콘 컨테이너 효과 */
.company-btn:not(:disabled):hover .icon-container {
    background-color: rgba(255, 255, 255, 0.3);
}