/* Fragmentation Analysis Page Styles */

.page-title {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-semibold);
}

/* Table styles */
.table th {
    font-weight: var(--font-weight-semibold);
    background-color: var(--table-header-bg);
}

/* Chart container */
#size-distribution-chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    margin-bottom: 1rem;
}

/* Card styles */
.card {
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-header {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
}

.card-title {
    color: var(--text-dark);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0;
}

.card-body {
    padding: 20px;
}

.card-footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 12px 20px;
}

/* 炮孔卡片样式 */
.col-md-4 .card {
    height: 100%;
    transition: all 0.2s ease;
}

.col-md-4 .card:hover {
    border-color: var(--text-link);
}

.analyze-btn {
    font-weight: var(--font-weight-medium);
}

/* 最近分析列表 */
.list-group-item {
    border-left: none;
    border-right: none;
    transition: all 0.2s ease;
}

.list-group-item:hover {
    background-color: var(--bg-light);
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Form styles */
.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(243, 108, 33, 0.25);
}

.form-group {
    margin-bottom: 1rem;
}

/* Button styles */
.btn-primary {
    background-color: var(--btn-primary-bg);
    border-color: var(--btn-primary-border);
}

.btn-primary:hover {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
}

.btn-outline-secondary {
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline-secondary:hover {
    color: white;
    background-color: var(--text-light);
    border-color: var(--text-light);
}

/* Loading indicator */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* History table */
#history-table th {
    white-space: nowrap;
}

/* Parameter description */
.parameter-description {
    font-size: var(--font-size-caption);
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Result highlight */
.highlight-value {
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .row {
        margin-bottom: 1rem;
    }
}

/* Detail page styles */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.detail-info {
    margin-bottom: 1rem;
}

.detail-info h6 {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

/* Analysis description styles */
.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    border-color: var(--status-info);
    color: var(--status-info);
}

.alert-info h5 {
    color: var(--status-info);
    margin-bottom: 1rem;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .col-md-4 {
        margin-bottom: 20px;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
} 