* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
}

.container {    max-width: 1900px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.selection-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.selection-panel {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);}

.form-group {
    margin-bottom: 15px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.installation-input, .mount-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    margin-bottom: 10px;
}
h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #3498db;
}

h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #2980b9;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    color: #333;
}

input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    color: #333;
    max-height: 300px;
    overflow-y: auto;
}

select option {
    padding: 8px;
    background-color: white;
}

select option:hover {
    background-color: #f0f7fd;
}
.compare-btn {
    display: block;
    width: 200px;
    margin: 0 auto 20px;
    padding: 12px 0;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.compare-btn:hover {
    background-color: #2980b9;
}
.comparison-container {
    display: none; /* Initially hidden */
    flex-direction: column;
    gap: 20px;
}

.configs-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.config-panel {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.configs-row .config-panel {
    width: calc(50% - 10px);
}

.diff-row .config-panel {
    width: 100%;
}

/* Optional - add syntax highlighting for diff output */
#diff-output .line:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.03);
}

#diff-output .line[data-content^="+"] {
    background-color: #e6ffed;
    color: #22863a;
}

#diff-output .line[data-content^="-"] {
    background-color: #ffeef0;
    color: #cb2431;
}.config-display {
    height: auto;
    overflow: visible;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-family: monospace;
    white-space: pre-wrap;
    line-height: 1.4;
    counter-reset: line;
}

.config-display .line {
    display: block;
    padding-left: 45px;
    position: relative;
}

.config-display .line:before {
    content: counter(line);
    counter-increment: line;
    position: absolute;
    left: 0;
    width: 40px;
    text-align: right;
    color: #999;
    border-right: 1px solid #ddd;
    padding-right: 5px;
}

.diff {
    background-color: #ffecb3;
}

@media (max-width: 768px) {
    .selection-container, .comparison-container {
        flex-direction: column;
    }

    .selection-panel, .config-panel {
        width: 100%;
        margin-bottom: 20px;
    }
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f9f9f9;
}

input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.diff-panel {
    width: 100%;
    margin-top: 20px;
}

.diff-panel .line-added {
    background-color: #e6ffed;
}

.diff-panel .line-removed {
    background-color: #ffeef0;
}