/* ==========================================
   사용자 대시보드 전용 스타일
   ========================================== */

/* 웰컴 배너 */
.welcome-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: fadeInUp 0.6s ease;
}

.welcome-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.welcome-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.welcome-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.welcome-icon i {
    animation: float 3s ease-in-out infinite;
}

/* 간소화된 통계 카드 */
.stats-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-simple {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.stat-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
}

.stat-card-simple .stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card-simple .stat-icon i {
    font-size: 2rem;
    color: white;
}

.stat-card-simple .stat-content h3 {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-card-simple .stat-number {
    color: var(--text-white);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

/* 대시보드 섹션 */
.dashboard-section {
    margin-bottom: 2rem;
}

.section-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header-new h2 {
    color: var(--text-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header-new h2 i {
    color: var(--primary-color);
}

.view-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    gap: 0.8rem;
    color: #0052cc;
}

/* 음원 그리드 (썸네일 포함) */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tracks-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.track-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease;
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
    border-color: var(--primary-color);
}

.track-thumbnail {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.track-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-thumbnail .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.track-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.track-card:hover .play-button {
    transform: scale(1.1);
}

.track-info {
    padding: 1.5rem;
}

.track-title {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-artist {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.track-isrc {
    color: #10b981;
    font-size: 0.82rem;
    font-family: 'Courier New', monospace;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.track-isrc i {
    font-size: 0.8rem;
}

.track-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.track-duration {
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.track-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.track-status.active {
    background: rgba(0, 200, 100, 0.2);
    color: #00C864;
    border: 1px solid rgba(0, 200, 100, 0.3);
}

/* 문의 목록 새 스타일 */
.inquiries-list-new {
    display: grid;
    gap: 1rem;
}

.inquiry-card-new {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
    position: relative;
    display: flex;
    align-items: stretch;
}

.inquiry-card-content {
    flex: 1;
    padding: 1.5rem;
    cursor: pointer;
}

.inquiry-card-new:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.1);
}

.btn-delete-inquiry {
    width: 50px;
    background: rgba(239, 83, 80, 0.1);
    border: none;
    border-left: 1px solid var(--border-color);
    color: rgba(239, 83, 80, 0.7);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 12px 12px 0;
}

.btn-delete-inquiry:hover {
    background: rgba(239, 83, 80, 0.2);
    color: #ef5350;
}

.inquiry-card-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.inquiry-category-new {
    padding: 0.4rem 1rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.inquiry-status-new {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.inquiry-status-new.pending {
    background: rgba(255, 165, 0, 0.2);
    color: #FFA500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.inquiry-status-new.answered {
    background: rgba(0, 200, 100, 0.2);
    color: #00C864;
    border: 1px solid rgba(0, 200, 100, 0.3);
}

.inquiry-title-new {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.inquiry-preview-new {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.inquiry-footer-new {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.inquiry-footer-new i {
    color: var(--primary-color);
}

/* 설정 페이지 새 스타일 */
.settings-container-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.settings-card-new {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

.settings-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.settings-card-header i {
    font-size: 1.5rem;
    color: white;
}

.settings-card-header h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}

.settings-form-new {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-new {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-new label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group-new label i {
    color: var(--primary-color);
    width: 20px;
}

.form-group-new input {
    padding: 0.8rem 1rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group-new input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-card);
}

.btn-primary-new {
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.profile-details-new {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-darker);
    border-radius: 8px;
}

.profile-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.profile-label i {
    color: var(--primary-color);
    width: 20px;
}

.profile-value {
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
}

/* 로그아웃 버튼 새 스타일 */
.btn-logout-new {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid rgba(255, 50, 50, 0.3);
    border-radius: 12px;
    color: #ff3333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-logout-new:hover {
    background: rgba(255, 50, 50, 0.1);
    border-color: #ff3333;
    transform: translateY(-2px);
}

.btn-logout-new:active {
    transform: translateY(0);
}

.logout-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 50, 50, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-logout-new:hover .logout-icon {
    background: rgba(255, 50, 50, 0.3);
    transform: rotate(10deg);
}

.logout-icon i {
    font-size: 1.1rem;
}

/* 빈 상태 스타일 */
.empty-state-new {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

.empty-state-new i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.empty-state-new p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* 반응형 */
@media (max-width: 768px) {
    .welcome-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-icon {
        font-size: 3rem;
    }
    
    .stats-grid-simple {
        grid-template-columns: 1fr;
    }
    
    .tracks-grid,
    .tracks-grid-full {
        grid-template-columns: 1fr;
    }
    
    .settings-container-new {
        grid-template-columns: 1fr;
    }
    
    .section-header-new {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* 애니메이션 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   정산내역 섹션 스타일
   ========================================== */

/* 정산내역 그리드 - 간단 버전 */
.settlements-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    animation: fadeIn 0.5s ease;
}

/* 간단한 정산 카드 */
.settlement-card-simple {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.settlement-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.settlement-header-simple {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settlement-header-simple h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.settlement-header-simple h3 i {
    color: var(--primary-color);
}

.settlement-amount {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.amount-label {
    display: block;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.amount-value {
    display: block;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.settlement-info-simple {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.settlement-info-simple span {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settlement-info-simple i {
    color: var(--primary-color);
    width: 16px;
}

.settlement-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-download,
.btn-invoice {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-download {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: white;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.4);
}

.btn-invoice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-invoice:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 정산내역 그리드 */
.settlements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    animation: fadeIn 0.5s ease;
}

/* 정산 카드 */
.settlement-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.settlement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* 정산 헤더 */
.settlement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settlement-header h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settlement-header h3 i {
    color: var(--primary-color);
}

/* 정산 상태 */
.settlement-status {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.settlement-status.status-paid {
    background: rgba(52, 211, 153, 0.2);
    color: #34d399;
}

.settlement-status.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.settlement-status.status-processing {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

/* 정산 정보 */
.settlement-body {
    margin-bottom: 1rem;
}

.settlement-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.info-row.total {
    padding-top: 1rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
}

.info-label {
    color: var(--text-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-label i {
    width: 16px;
    text-align: center;
}

.info-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.info-value.highlight {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.settlement-details {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.details-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.details-text i {
    margin-top: 0.2rem;
    color: var(--primary-color);
}

/* 정산 푸터 */
.settlement-footer {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

/* 작은 버튼 스타일 */
.btn-secondary-small,
.btn-primary-small {
    flex: 1;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary-small {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary-small:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 성공 버튼 (엑셀용) */
.btn-success-new {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-success-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.4);
}

/* 헤더 액션 그룹 */
.header-actions-group {
    display: flex;
    gap: 0.8rem;
}

/* 정산 상세보기 모달 */
.settlement-detail {
    padding: 1rem;
}

.settlement-detail .detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.settlement-detail .detail-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item.highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.detail-label {
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-value {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.detail-item.highlight .detail-value {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.detail-notes {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.detail-notes h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-notes p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* 모달 푸터 */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer .btn-secondary,
.modal-footer .btn-primary {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ==========================================
   게시판 스타일
   ========================================== */

/* 게시판 컨트롤 */
.board-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.board-controls .search-box {
    flex: 1;
    min-width: 250px;
}

/* 게시글 목록 */
.board-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.board-post-item {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.board-post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.post-category {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-notice {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.category-general {
    background: rgba(102, 126, 234, 0.2);
    color: var(--primary-color);
}

.post-pinned {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 69, 69, 0.2);
    color: #ff4545;
}

.post-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.post-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-meta span {
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-meta i {
    font-size: 0.8rem;
}

/* 게시글 상세 */
.post-detail {
    padding: 1rem 0;
}

.post-detail-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-detail-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.post-detail-meta {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.post-detail-meta span {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-detail-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
    padding: 2rem 0;
    min-height: 200px;
}

.post-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 게시글 작성 폼 */
.post-form .form-group-new {
    margin-bottom: 1.5rem;
}

.post-form textarea {
    min-height: 200px;
    resize: vertical;
}

/* 페이지네이션 */
.pagination-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

/* 정산내역 반응형 */
@media (max-width: 768px) {
    .settlements-grid,
    .settlements-grid-simple {
        grid-template-columns: 1fr;
    }
    
    .header-actions-group {
        flex-direction: column;
        width: 100%;
    }
    
    .header-actions-group .btn-success-new,
    .header-actions-group .btn-primary-new {
        width: 100%;
    }
    
    .settlement-footer {
        flex-direction: column;
    }
    
    .settlement-actions {
        flex-direction: column;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column-reverse;
    }
    
    .modal-footer .btn-secondary,
    .modal-footer .btn-primary {
        width: 100%;
    }
    
    .amount-value {
        font-size: 1.5rem;
    }
    
    .board-controls {
        flex-direction: column;
    }
    
    .board-controls .search-box {
        width: 100%;
    }
    
    .post-meta {
        gap: 0.5rem;
    }
    
    .post-detail-meta {
        gap: 1rem;
    }
}
