/* styles.css */
body {
    background-color: #f5f5f5;
    padding: 20px 0;
}

.container {
    max-width: 1200px;
}

.card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.card-content {
    padding: 24px;
}

table {
    margin-bottom: 20px;
}

table input {
    margin: 0 !important;
    height: 2rem !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
}

table input:focus {
    border-color: #26a69a !important;
    box-shadow: none !important;
}

.button-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.button-container button {
    margin: 0;
}

#resultsContainer {
    margin-top: 30px;
}

.results-card {
    padding: 20px;
    margin-bottom: 20px;
}

.result-section {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin: 10px 0;
}

.result-section h5 {
    margin: 0 0 10px 0;
    color: #2196F3;
    font-size: 1.2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
}

.delete-btn {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
}

.delete-btn i {
    line-height: 30px !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 18px !important;
}

#plotsContainer {
    margin-top: 30px;
}

.plot-card {
    padding: 20px;
    margin-bottom: 20px;
}

/* Center trash icon */
.btn-floating i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (max-width: 600px) {
    .container {
        width: 95%;
    }
    
    table {
        font-size: 14px;
    }
    
    table input {
        width: 100% !important;
    }
}

.results-card table {
    width: 100%;
    margin: 1rem 0;
}

.results-card th, 
.results-card td {
    padding: 8px;
    text-align: left;
}

.results-card tr:nth-child(even) {
    background-color: #f5f5f5;
}

.results-card th {
    cursor: pointer;
    user-select: none;
}

.results-card th:hover {
    background-color: #f0f0f0;
}