
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}
/* Form inline styling */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.form-group label {
    margin-right: 10px;
    margin-bottom: 0;
    white-space: nowrap;
}
.form-group input {
    flex: 1;
    max-width: 150px;
}
.form-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.form-row .form-group {
    margin-bottom: 0;
}
#patternAnalysisForm {
    max-width: 100%;
    margin: 0 auto;
}
.pattern-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.pattern-table th, .pattern-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}
.pattern-table th {
    background-color: #2196F3;
    color: #fff;
    font-weight: bold;
    padding: 12px;
    text-align: center !important;
    border: 1px solid #ddd;
    vertical-align: middle;
}
.pattern-table th.pattern-name {
    text-align: center !important;
}
.pattern-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.pattern-table tr:hover {
    background-color: #f5f5f5;
}
.success-rate {
    font-weight: bold;
}
.positive {
    color: #4CAF50;
}
.negative {
    color: #f44336;
}
.pattern-name {
    text-align: left;
    font-weight: bold;
}
.section-header {
    background-color: #2196F3;
    color: white;
    padding: 10px;
    margin: 20px 0;
    border-radius: 4px;
}
.analysis-form {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}
.form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
.btn-analyze {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
.btn-analyze:hover {
    background-color: #45a049;
}
.pattern-details {
    margin-top: 20px;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.pattern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.pattern-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}
.pattern-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
.stat-card {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.stat-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}
.stat-value {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}
.movement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}
.movement-item {
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #eee;
}
.movement-date {
    font-size: 0.8em;
    color: #666;
    margin-bottom: 5px;
}
.movement-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}
.movement-value {
    font-size: 0.9em;
    padding: 3px 6px;
    border-radius: 3px;
    text-align: center;
}
.pattern-type-header {
    background-color: #e9ecef;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 1.2em;
    font-weight: bold;
}
.movement-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9em;
}
.movement-table th, .movement-table td {
    padding: 8px;
    text-align: center;
    border: 1px solid #eee;
}
.movement-table th {
    font-weight: bold;
}
.movement-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.movement-table tr:hover {
    background-color: #f5f5f5;
}
.movement-date {
    text-align: left;
    color: #666;
}
.summary-table {
    width: 100%;
    margin-bottom: 20px;
}
.summary-table th {
    background-color: #2196F3;
    color: white;
}
.summary-table td {
    text-align: center;
}
.summary-value {
    font-weight: bold;
}
.table thead th {
    background-color: #2196F3;
    color: white;
}