/**
 * 🎨 고밥연 표준 버튼 디자인 시스템 (buttons.css)
 * 1. Primary: .btn-primary (주요 액션)
 * 2. Outline: .btn-outline (보조 액션)
 * 3. Danger:  .btn-danger (주의/삭제)
 * 4. Link:    .btn-link (텍스트형 가이드)
 * 5. SM:      .btn-sm (사이즈 축소)
 */

/* 공통 버튼 베이스 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
}

.btn:active {
    transform: scale(0.97);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* 1. Primary (기본/중요) */
.btn-primary {
    background-color: #406CB4;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(64, 108, 180, 0.2);
}

.btn-primary:hover {
    background-color: #355a96;
    box-shadow: 0 6px 16px rgba(64, 108, 180, 0.3);
}

/* 2. Outline (보조) */
.btn-outline {
    background-color: #F1F5F9;
    color: #64748B !important;
    border: 1px solid #E2E8F0;
}

.btn-outline:hover {
    background-color: #E2E8F0;
    color: #1E293B !important;
}

/* 3. Danger (경고/삭제) */
.btn-danger {
    background-color: transparent;
    color: #DC2626 !important;
    border: none;
}

.btn-danger:hover {
    background-color: #FEF2F2;
}

.btn-danger i, .btn-danger svg {
    color: #DC2626;
}

/* 4. Link (텍스트형) */
.btn-link {
    background-color: transparent;
    color: #64748B !important;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
}

.btn-link:hover {
    text-decoration: underline;
    color: #406CB4 !important;
}

/* 5. Size Modifier (XS/SM) */
.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

/* 아이콘 범용 처리 */
.btn i {
    font-size: 0.95em;
}
