/* farms-pl 스타일 */
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8f9fa;
}

/* 요약 카드 */
.summary-card {
    transition: transform 0.15s;
}
.summary-card:hover {
    transform: translateY(-2px);
}

/* PL 테이블 */
.pl-table th, .pl-table td {
    vertical-align: middle;
    padding: 0.35rem 0.5rem;
    font-size: 0.875rem;
}
.pl-table .amount-input {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 2px 6px;
    width: 100%;
    font-size: 0.875rem;
}
.pl-table .amount-input:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.25);
    outline: none;
}

/* 테이블 공통 */
.table-sm th, .table-sm td {
    font-size: 0.875rem;
}

/* 배지 */
.badge {
    font-weight: 500;
}

/* 카드 헤더 */
.card-header {
    font-weight: 600;
    font-size: 0.9rem;
}

/* 반응형 */
@media (max-width: 768px) {
    .summary-card .fs-5 {
        font-size: 1rem !important;
    }
    .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
    .table-responsive {
        font-size: 0.8rem;
    }
}

/* 네비게이션 활성 링크 */
.navbar-nav .nav-link.active {
    font-weight: 700;
    border-bottom: 2px solid white;
}

/* 폼 요소 간격 */
.form-label.small {
    font-size: 0.8rem;
    color: #6c757d;
}

/* 로그인 카드 */
.card.shadow {
    max-width: 400px;
    margin: 0 auto;
}

/* 금액 음수 표시 */
.text-danger {
    color: #dc3545 !important;
}

/* 테이블 줄무늬 최적화 */
.table-hover tbody tr:hover {
    background-color: rgba(25, 135, 84, 0.05);
}
