/* Market for Lemons Simulation CSS */
/* Local styles to avoid collision with global CSS */

#content_sim {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Courier New', monospace;
    background-color: #000;
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
}

.lemons-container {
    background-color: #000;
    padding: 15px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.lemons-controls {
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
}

.lemons-control-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    width: 100%;
}

.lemons-control-row label {
    min-width: 150px;
    color: #fff;
}

.lemons-control-row span {
    min-width: 60px;
    color: #4CAF50;
    text-align: right;
    font-weight: bold;
}

.lemons-stats {
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.lemons-stats-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.lemons-stats-label {
    color: #aaa;
}

.lemons-stats-value {
    color: #fff;
    font-weight: bold;
}

.lemons-stats-value.price {
    color: #ffd700;
}

.lemons-stats-value.peach {
    color: #3498db;
}

.lemons-stats-value.lemon {
    color: #e67e22;
}

.lemons-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.lemons-btn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s;
}

.lemons-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

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

.lemons-btn.secondary {
    background-color: #555;
}

.lemons-btn.secondary:hover {
    background-color: #666;
}

.lemons-btn.danger {
    background-color: #e74c3c;
}

.lemons-btn.danger:hover {
    background-color: #c0392b;
}

.lemons-canvas-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: #111;
    border: 2px solid #333;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lemons-canvas {
    display: block;
    width: 100%;
    background-color: #000;
}

.lemons-chart-container {
    width: 100%;
    background-color: #000;
    border: 1px solid #333;
    border-radius: 3px;
    margin: 10px 0;
}

#lemons-chart-canvas {
    display: block;
    width: 100%;
    background-color: #000;
}

.lemons-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #1a1a1a;
    border-radius: 5px;
}

.lemons-toggle label {
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lemons-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4CAF50;
}

.lemons-hint {
    font-size: 11px;
    color: #888;
    font-style: italic;
    margin-top: 5px;
}

.lemons-settings {
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.lemons-settings-title {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
}

.lemons-control-value {
    min-width: 60px;
    color: #4CAF50;
    text-align: right;
    font-weight: bold;
    font-size: 12px;
}

.lemons-control-row input[type="range"] {
    flex: 1;
    min-width: 150px;
    height: 5px;
    background: #333;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.lemons-control-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
}

.lemons-control-row input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}
