.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-3px);
}
.card h2 {
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.form-group {
    margin-bottom: 20px;
}
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s ease;
}
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}
button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
    width: 100%;
}
button:hover {
    background: #3251d4;
}
#result {
    margin-top: 25px;
    padding: 20px;
    border-radius: 6px;
}
.valid {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--success);
    color: #27ae60;
}
.invalid {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--danger);
    color: #c0392b;
}
.error-details {
    margin-top: 15px;
    padding: 15px;
    background: rgba(231, 76, 60, 0.05);
    border-radius: 6px;
    border-left: 4px solid var(--danger);
}
.error-title {
    font-weight: 600;
    margin-bottom: 5px;
}
.error-message {
    font-family: 'Consolas', 'Courier New', monospace;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Line Number Styling */
.editor-container {
    display: flex;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    overflow: hidden;
}
.line-numbers {
    width: 50px;
    text-align: right;
    background-color: #f5f7fa;
    padding: 12px 10px;
    border-right: 1px solid #ddd;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    color: #777;
    line-height: 1.5;
    overflow: hidden;
    user-select: none;
}
.line-number {
    padding: 0 5px;
}
.line-number.current {
    background-color: #e3f2fd;
    font-weight: bold;
    color: var(--primary);
}
#configInput {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 12px 15px;
    min-height: 200px;
    font-family: 'Consolas', 'Courier New', monospace;
    resize: vertical;
    line-height: 1.5;
    font-size: 14px;
}
#configInput:focus {
    outline: none;
    box-shadow: none;
}
.cursor-position {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    text-align: right;
}