/* c:\Users\user\ArchiveforObsidian\99_ArchiveObsidian\Z_Code\page_test\style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
}
h1 {
    text-align: center;
    color: #2c3e50;
}
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.panel {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 300px;
}
.panel h2 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
    color: #34495e;
    font-size: 1.2em;
}
.input-group {
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
}
.input-group h3 {
    margin: 5px 0 10px 0;
    font-size: 1em;
    color: #7f8c8d;
}
label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9em;
}
input[type="number"], input[type="text"] {
    width: 80px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: right;
}
.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95em;
}
.result-value {
    font-weight: bold;
    color: #2980b9;
}
canvas {
    width: 100%;
    height: 600px;
    border: 1px solid #ddd;
    background-color: #fff;
    margin-top: 10px;
}
.note {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}
.saved-models {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.model-chip {
    background: #e0e0e0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}
.model-chip:hover {
    background: #d0d0d0;
}
.delete-btn {
    color: #e74c3c;
    font-weight: bold;
    cursor: pointer;
    padding: 0 4px;
}
.delete-btn:hover {
    color: #c0392b;
}
.action-bar {
    margin-bottom: 15px;
    text-align: right;
}
button.save-btn {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}
button.save-btn:hover {
    background-color: #219150;
}
/* Navigation Tabs */
.nav-bar {
    display: flex;
    background: #fff;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.nav-btn {
    padding: 10px 20px;
    border: none;
    background: #ecf0f1;
    color: #2c3e50;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.nav-btn:hover {
    background: #dfe6e9;
}
.nav-btn.active {
    background: #3498db;
    color: white;
}
